summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rust-mode.el5
1 files 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"