Skip to content

Commit 42f2810

Browse files
committed
emacs: Make 'mut' a keyword
1 parent f4ee558 commit 42f2810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/emacs/rust-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
(dolist (word '("mod" "type" "resource" "fn" "enum" "iface" "impl"))
5656
(puthash word 'def table))
5757
(dolist (word '("if" "else" "while" "do" "for" "break" "cont" "ret" "be" "fail" "const"
58-
"check" "assert" "claim" "prove" "native" "import" "export" "let" "log"
58+
"check" "assert" "claim" "prove" "native" "import" "export" "let" "mut" "log"
5959
"use" "pure" "unsafe"))
6060
(puthash word t table))
6161
(puthash "alt" 'alt table)

0 commit comments

Comments
 (0)