diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-06-27 13:14:04 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-06-27 13:30:49 -0700 |
| commit | a25cc60e528138dfa37ccc0f78190634390095cf (patch) | |
| tree | 53d0c41d2316dbc16779efb3787e4fe9666495b3 /rust-mode.el | |
| parent | a73e9ee22740c9f61fe6484a30871101968d52a6 (diff) | |
| download | rust-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.el | 14 |
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)) |
