Skip to content

Commit 8d26d86

Browse files
committed
removed a comma from the keyword list to get
fn keyword highlighted
1 parent 2e0c1db commit 8d26d86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/etc/emacs/rust-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
(defvar rust-value-keywords
5454
(let ((table (make-hash-table :test 'equal)))
5555
(dolist (word '("mod" "const" "class" "type"
56-
"trait" "struct", "fn" "enum"
57-
"impl"))
56+
"trait" "struct" "fn" "enum"
57+
"impl"))
5858
(puthash word 'def table))
5959
(dolist (word '("again" "assert"
6060
"break"

0 commit comments

Comments
 (0)