summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grammar/rust.lm5
1 files changed, 3 insertions, 2 deletions
diff --git a/grammar/rust.lm b/grammar/rust.lm
index f6e33a0a..089c5c7f 100644
--- a/grammar/rust.lm
+++ b/grammar/rust.lm
@@ -166,7 +166,8 @@ def opt_lifetime
def type
[type_path]
| [`& opt_lifetime type_path]
-| [`&mut opt_lifetime type_path]
+| [`&mut type_path]
+| [`& lifetime `mut type_path]
| [`( `)]
def type_list
@@ -513,7 +514,7 @@ if P {
}
for CL: cons_list in FN {
- print " construct list: [CL]
+ print " construct list: [^CL]
}
}
}