summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rust-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el
index f9142cd..175592d 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -217,7 +217,7 @@
1 font-lock-preprocessor-face)
;; Syntax extension invocations like `foo!`, highlight including the !
- (,(concat (rust-re-grab (concat rust-re-ident "!")) "[({[:space:]]")
+ (,(concat (rust-re-grab (concat rust-re-ident "!")) "[({[:space:][]")
1 font-lock-preprocessor-face)
;; Field names like `foo:`, highlight excluding the :