summaryrefslogtreecommitdiff
path: root/grammar
diff options
context:
space:
mode:
Diffstat (limited to 'grammar')
-rw-r--r--grammar/rust.lm3
1 files changed, 1 insertions, 2 deletions
diff --git a/grammar/rust.lm b/grammar/rust.lm
index 0834ef98..aadeec08 100644
--- a/grammar/rust.lm
+++ b/grammar/rust.lm
@@ -719,8 +719,7 @@ def paths
def func_index
- [func_index `. path_expr_segment `( expr_list `,? `)]
-| [func_index `. id]
+ [func_index `. path_expr_segment]
| [func_index `. number]
| [func_index `( expr_list `,? `)]
| [func_index `[ expr_list `,? `]]