summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-06-27 13:14:04 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-06-27 13:30:49 -0700
commita25cc60e528138dfa37ccc0f78190634390095cf (patch)
tree53d0c41d2316dbc16779efb3787e4fe9666495b3 /rust-mode.el
parenta73e9ee22740c9f61fe6484a30871101968d52a6 (diff)
downloadrust-mode-a25cc60e528138dfa37ccc0f78190634390095cf.tar.gz
More keyword paring and migration in runtime, docs, code modes.
Diffstat (limited to 'rust-mode.el')
-rw-r--r--rust-mode.el14
1 files 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))