summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-27 15:10:25 -0700
committerBrian Anderson <banderson@mozilla.com>2012-03-27 15:10:25 -0700
commitfb23ccc497425642316e851cb48a3f4106877218 (patch)
tree094f06456277fb16b7398a4bee40873d754bae1a
parent6aa0a912a54625ffc1932836ebe067b275cb392b (diff)
downloadrust-mode-fb23ccc497425642316e851cb48a3f4106877218.tar.gz
emacs: Make 'mut' a keyword
-rw-r--r--rust-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el
index 00b6501..7dc37bc 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -55,7 +55,7 @@
(dolist (word '("mod" "type" "resource" "fn" "enum" "iface" "impl"))
(puthash word 'def table))
(dolist (word '("if" "else" "while" "do" "for" "break" "cont" "ret" "be" "fail" "const"
- "check" "assert" "claim" "prove" "native" "import" "export" "let" "log"
+ "check" "assert" "claim" "prove" "native" "import" "export" "let" "mut" "log"
"use" "pure" "unsafe"))
(puthash word t table))
(puthash "alt" 'alt table)