emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/rust-mode 6275e8e 010/486: Add trait to emacs keyword tabl


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode 6275e8e 010/486: Add trait to emacs keyword table.
Date: Sat, 7 Aug 2021 09:24:37 -0400 (EDT)

branch: elpa/rust-mode
commit 6275e8ea5920ddc58bc9c3405a74fa6925598812
Author: Graydon Hoare <graydon@mozilla.com>
Commit: Graydon Hoare <graydon@mozilla.com>

    Add trait to emacs keyword table.
---
 rust-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]