branch: elpa/rust-mode
commit 7cb68f71bccffaa40c6c7ad296fdf97c72839985
Author: Huon Wilson <[email protected]>
Commit: Huon Wilson <[email protected]>

    Add new keywords (particularly `where` & `virtual`) to editor modes.
---
 rust-mode.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/rust-mode.el b/rust-mode.el
index beb2e65..6a514c8 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -170,7 +170,7 @@
 (defconst rust-mode-keywords
   '("as"
     "box" "break"
-    "continue" "crate"
+    "const" "continue" "crate"
     "do"
     "else" "enum" "extern"
     "false" "fn" "for"
@@ -182,7 +182,8 @@
     "self" "static" "struct" "super"
     "true" "trait" "type"
     "unsafe" "use"
-    "while"))
+    "virtual"
+    "where" "while"))
 
 (defconst rust-special-types
   '("u8" "i8"

Reply via email to