diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-08-02 17:13:53 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-08-02 18:06:33 -0700 |
| commit | 6275e8ea5920ddc58bc9c3405a74fa6925598812 (patch) | |
| tree | bdfc9962b9fef1d2dc6d788f54ba09ccd39d5266 /rust-mode.el | |
| parent | abadab063b9ac01b2139f55835d22dd447896398 (diff) | |
| download | rust-mode-6275e8ea5920ddc58bc9c3405a74fa6925598812.tar.gz | |
Add trait to emacs keyword table.
Diffstat (limited to 'rust-mode.el')
| -rw-r--r-- | rust-mode.el | 2 |
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" |
