aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/rust-ts-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/rust-ts-mode.el b/lisp/progmodes/rust-ts-mode.el
index 7bc05898d15..baf0e1ec013 100644
--- a/lisp/progmodes/rust-ts-mode.el
+++ b/lisp/progmodes/rust-ts-mode.el
@@ -217,7 +217,7 @@ to be checked as its standard input."
217 ;; If these keyword are in a macro body, they're marked as 217 ;; If these keyword are in a macro body, they're marked as
218 ;; identifiers. 218 ;; identifiers.
219 ((identifier) @font-lock-keyword-face 219 ((identifier) @font-lock-keyword-face
220 (:match ,(rx (or "else" "in" "move")) @font-lock-keyword-face))) 220 (:match ,(rx bos (or "else" "in" "move") eos) @font-lock-keyword-face)))
221 221
222 :language 'rust 222 :language 'rust
223 :feature 'number 223 :feature 'number