Add crate keyword to Rust (#10110)

Release Notes:

- Fixed `crate` keyword not being highlighted in Rust files.

Ref: #10104 

And I make a sort for them.
This commit is contained in:
Jason Lee 2024-04-03 23:27:22 +08:00 committed by GitHub
parent eb231d0449
commit 8eeecdafec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,11 +70,11 @@
"else" "else"
"enum" "enum"
"extern" "extern"
"for"
"fn" "fn"
"for"
"if" "if"
"in"
"impl" "impl"
"in"
"let" "let"
"loop" "loop"
"macro_rules!" "macro_rules!"
@ -88,11 +88,12 @@
"struct" "struct"
"trait" "trait"
"type" "type"
"union"
"unsafe"
"use" "use"
"where" "where"
"while" "while"
"union" (crate)
"unsafe"
(mutable_specifier) (mutable_specifier)
(super) (super)
] @keyword ] @keyword