summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
authorbrotzeit <brotzeitmacher@gmail.com>2022-01-08 19:37:13 +0100
committerbrotzeit <brotzeitmacher@gmail.com>2022-01-08 19:37:13 +0100
commitc5ed5baac29e4c89590464ee352efaf14c4b182d (patch)
treea1e0a7070543f31a38f2c4073c14f3e8b25e60e9 /rust-mode.el
parent541786c9bb0887e2357b4d6210b25ca4ceea3ab3 (diff)
downloadrust-mode-c5ed5baac29e4c89590464ee352efaf14c4b182d.tar.gz
remove "use" from rust-top-item-beg-re
close #283
Diffstat (limited to 'rust-mode.el')
-rw-r--r--rust-mode.el2
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.")