diff options
author | Georg Brandl <georg@python.org> | 2014-11-06 11:59:24 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-11-06 11:59:24 +0100 |
commit | 8b85d2a63069f341498a5feeb1874c11641b8dbc (patch) | |
tree | 1c14a9390d37dd4c5e9dc59378ae9eff0c46cc84 /pygments/lexers/rust.py | |
parent | 524651a7519eed6216158762a0e627dc7b8bac15 (diff) | |
download | pygments-8b85d2a63069f341498a5feeb1874c11641b8dbc.tar.gz |
Simplify charclasses in a few modules
Diffstat (limited to 'pygments/lexers/rust.py')
-rw-r--r-- | pygments/lexers/rust.py | 2 |
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), ], } |