summaryrefslogtreecommitdiff
path: root/pygments/lexers/rust.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-11-06 11:59:24 +0100
committerGeorg Brandl <georg@python.org>2014-11-06 11:59:24 +0100
commit8b85d2a63069f341498a5feeb1874c11641b8dbc (patch)
tree1c14a9390d37dd4c5e9dc59378ae9eff0c46cc84 /pygments/lexers/rust.py
parent524651a7519eed6216158762a0e627dc7b8bac15 (diff)
downloadpygments-8b85d2a63069f341498a5feeb1874c11641b8dbc.tar.gz
Simplify charclasses in a few modules
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),
],
}