branch: elpa/rust-mode
commit a25cc60e528138dfa37ccc0f78190634390095cf
Author: Graydon Hoare <[email protected]>
Commit: Graydon Hoare <[email protected]>
More keyword paring and migration in runtime, docs, code modes.
---
rust-mode.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/rust-mode.el b/rust-mode.el
index 412a43d..e8240ae 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -52,21 +52,21 @@
(defvar rust-punc-chars "()[].,{}:;")
(defvar rust-value-keywords
(let ((table (make-hash-table :test 'equal)))
- (dolist (word '("mod" "type" "resource" "fn" "enum" "iface" "impl"))
+ (dolist (word '("mod" "const" "class" "type"
+ "trait" "fn" "enum" "iface"
+ "impl"))
(puthash word 'def table))
(dolist (word '("assert"
- "be" "break"
- "check" "claim" "class" "const" "cont" "copy" "crust"
+ "break"
+ "check" "claim" "cont" "copy"
"drop"
- "else" "export"
+ "else" "export" "extern"
"fail" "for"
"if" "import"
"let" "log" "loop"
- "mut"
- "native" "new"
+ "new"
"pure"
"ret"
- "trait"
"unchecked" "unsafe"
"while"))
(puthash word t table))