summaryrefslogtreecommitdiff
path: root/pygments/lexers/rust.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/rust.py')
-rw-r--r--pygments/lexers/rust.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/rust.py b/pygments/lexers/rust.py
index 08a5cf54..4447e1db 100644
--- a/pygments/lexers/rust.py
+++ b/pygments/lexers/rust.py
@@ -162,6 +162,6 @@ class RustLexer(RegexLexer):
'attribute(': [
include('attribute_common'),
(r'\);?', Comment.Preproc, '#pop'),
- (r'[^"\)]+', Comment.Preproc),
+ (r'[^")]+', Comment.Preproc),
],
}