diff options
-rw-r--r-- | editors/code/rust.tmGrammar.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json index d27528447..6fe16d794 100644 --- a/editors/code/rust.tmGrammar.json +++ b/editors/code/rust.tmGrammar.json | |||
@@ -159,7 +159,7 @@ | |||
159 | { | 159 | { |
160 | "comment": "Keyword", | 160 | "comment": "Keyword", |
161 | "name": "keyword.other.rust", | 161 | "name": "keyword.other.rust", |
162 | "match": "\\b(crate|extern|mod|let|ref|use|super|move)\\b" | 162 | "match": "\\b(crate|extern|mod|let|ref|use|super|move|as)\\b" |
163 | }, | 163 | }, |
164 | { | 164 | { |
165 | "comment": "Reserved keyword", | 165 | "comment": "Reserved keyword", |
@@ -202,7 +202,7 @@ | |||
202 | { | 202 | { |
203 | "comment": "Miscellaneous operator", | 203 | "comment": "Miscellaneous operator", |
204 | "name": "keyword.operator.misc.rust", | 204 | "name": "keyword.operator.misc.rust", |
205 | "match": "(=>|::|\\bas\\b)" | 205 | "match": "(=>|::)" |
206 | }, | 206 | }, |
207 | { | 207 | { |
208 | "comment": "Comparison operator", | 208 | "comment": "Comparison operator", |