feat(rust): move pub to @keyword.modifier

Also consolidates most of the captures
This commit is contained in:
Riley Bruins 2024-03-16 17:36:53 -07:00 committed by Amaan Qureshi
parent 5b8458c5aa
commit 3c7a0e9d94

View file

@ -256,7 +256,6 @@
"impl" "impl"
"let" "let"
"move" "move"
"pub"
"struct" "struct"
"trait" "trait"
"type" "type"
@ -274,10 +273,8 @@
[ [
"ref" "ref"
"pub"
(mutable_specifier) (mutable_specifier)
] @keyword.modifier
[
"const" "const"
"static" "static"
"dyn" "dyn"