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

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

[nongnu] elpa/rust-mode 4c8754b 430/486: Merge pull request #343 from ha


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode 4c8754b 430/486: Merge pull request #343 from haroldcarr/master
Date: Sat, 7 Aug 2021 09:26:08 -0400 (EDT)

branch: elpa/rust-mode
commit 4c8754b249f96455facf81fd5d5b2d06d0cd9b79
Merge: 4fd637c 844bb51
Author: brotzeit <brotzeitmacher@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #343 from haroldcarr/master
    
    add support for "async fn"
---
 rust-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust-mode.el b/rust-mode.el
index e98e488..026b481 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -1292,7 +1292,7 @@ whichever comes first."
 (defvar rust-imenu-generic-expression
   (append (mapcar #'(lambda (x)
                       (list (capitalize x) (rust-re-item-def-imenu x) 1))
-                  '("enum" "struct" "union" "type" "mod" "fn" "trait" "impl"))
+                  '("async fn" "enum" "struct" "union" "type" "mod" "fn" 
"trait" "impl"))
           `(("Macro" ,(rust-re-item-def-imenu "macro_rules!") 1)))
   "Value for `imenu-generic-expression' in Rust mode.
 



reply via email to

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