summaryrefslogtreecommitdiff
path: root/pygments/lexers/compiled.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/compiled.py')
-rw-r--r--pygments/lexers/compiled.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py
index 5f6af295..22d3cd67 100644
--- a/pygments/lexers/compiled.py
+++ b/pygments/lexers/compiled.py
@@ -3350,12 +3350,12 @@ class RustLexer(RegexLexer):
(r'\\', String),
],
'macro{': [
- (r'{', Operator, '#push'),
- (r'}', Operator, '#pop'),
+ (r'\{', Operator, '#push'),
+ (r'\}', Operator, '#pop'),
],
'macro(': [
- (r'(', Operator, '#push'),
- (r')', Operator, '#pop'),
+ (r'\(', Operator, '#push'),
+ (r'\)', Operator, '#pop'),
],
'attribute_common': [
(r'"', String, 'string'),