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

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

[nongnu] elpa/rust-mode a25cc60 005/486: More keyword paring and migrati


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode a25cc60 005/486: More keyword paring and migration in runtime, docs, code modes.
Date: Sat, 7 Aug 2021 09:24:36 -0400 (EDT)

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

    More keyword paring and migration in runtime, docs, code modes.
---
 rust-mode.el | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/rust-mode.el b/rust-mode.el
index 412a43d..e8240ae 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -52,21 +52,21 @@
 (defvar rust-punc-chars "()[].,{}:;")
 (defvar rust-value-keywords
   (let ((table (make-hash-table :test 'equal)))
-    (dolist (word '("mod" "type" "resource" "fn" "enum" "iface" "impl"))
+    (dolist (word '("mod" "const" "class" "type"
+                                       "trait" "fn" "enum" "iface"
+                                       "impl"))
       (puthash word 'def table))
     (dolist (word '("assert"
-                    "be" "break"
-                    "check" "claim" "class" "const" "cont" "copy" "crust"
+                    "break"
+                    "check" "claim" "cont" "copy"
                     "drop"
-                    "else" "export"
+                    "else" "export" "extern"
                     "fail" "for"
                     "if" "import"
                     "let" "log" "loop"
-                    "mut"
-                    "native" "new"
+                    "new"
                     "pure"
                     "ret"
-                    "trait"
                     "unchecked" "unsafe"
                     "while"))
       (puthash word t table))



reply via email to

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