summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rust-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el
index e4b2c83..c79ca52 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -53,7 +53,7 @@
(defvar rust-value-keywords
(let ((table (make-hash-table :test 'equal)))
(dolist (word '("mod" "const" "class" "type"
- "trait" "fn" "enum"
+ "trait" "struct", "fn" "enum"
"impl"))
(puthash word 'def table))
(dolist (word '("again" "assert"