diff options
| author | brotzeit <brotzeitmacher@gmail.com> | 2022-01-08 19:37:13 +0100 |
|---|---|---|
| committer | brotzeit <brotzeitmacher@gmail.com> | 2022-01-08 19:37:13 +0100 |
| commit | c5ed5baac29e4c89590464ee352efaf14c4b182d (patch) | |
| tree | a1e0a7070543f31a38f2c4073c14f3e8b25e60e9 | |
| parent | 541786c9bb0887e2357b4d6210b25ca4ceea3ab3 (diff) | |
| download | rust-mode-c5ed5baac29e4c89590464ee352efaf14c4b182d.tar.gz | |
remove "use" from rust-top-item-beg-re
close #283
| -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 ebc2bbc..6da7db5 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -319,7 +319,7 @@ See `prettify-symbols-compose-predicate'." (rust-re-shy (concat (rust-re-shy rust-re-async-or-const) "[[:space:]]+")) "?" (rust-re-shy (concat (rust-re-shy rust-re-unsafe) "[[:space:]]+")) "?" (regexp-opt - '("enum" "struct" "union" "type" "mod" "use" "fn" "static" "impl" + '("enum" "struct" "union" "type" "mod" "fn" "static" "impl" "extern" "trait" "async")) "\\_>") "Start of a Rust item.") |
