diff options
| author | brotzeit <brotzeitmacher@gmail.com> | 2019-11-23 17:32:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-23 17:32:41 +0100 |
| commit | 4c8754b249f96455facf81fd5d5b2d06d0cd9b79 (patch) | |
| tree | 33c28b7e88ffb34edd071144598cda4ff6f40e0e | |
| parent | 4fd637c06b27c74df2e8080e832b8bd80a55be81 (diff) | |
| parent | 844bb51c7991cd43ec83265fae2cb349f88053bc (diff) | |
| download | rust-mode-4c8754b249f96455facf81fd5d5b2d06d0cd9b79.tar.gz | |
Merge pull request #343 from haroldcarr/master
add support for "async fn"
| -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 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. |
