From d21b5db891d605c7c10118daca1f06c09c14b07e Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 31 Jul 2020 18:30:02 +0200 Subject: fixup! Finalize Path grammar --- xtask/src/codegen/rust.ungram | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram index 8acd02f75..cb4cd49fe 100644 --- a/xtask/src/codegen/rust.ungram +++ b/xtask/src/codegen/rust.ungram @@ -3,7 +3,7 @@ Path = PathSegment = '::' | 'crate' | 'self' | 'super' -| (NameRef ('::'? GenericArgList)?) +| NameRef GenericArgList? | NameRef ParamList RetType? | '<' PathType ('as' PathType)? '>' -- cgit v1.2.3