diff options
author | Edwin Cheng <[email protected]> | 2020-12-20 09:13:40 +0000 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2020-12-20 09:13:40 +0000 |
commit | f942d10e8010918c677b40f821e504d87f057ead (patch) | |
tree | df7be57bbd282b79ad964db4bf2704874a0b2035 /crates/parser/src/grammar.rs | |
parent | f3125555a8de6fad4529408436800a6b1243a442 (diff) |
Use pattern_single instead of pattern in mbe pat
Diffstat (limited to 'crates/parser/src/grammar.rs')
-rw-r--r-- | crates/parser/src/grammar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/parser/src/grammar.rs b/crates/parser/src/grammar.rs index 1a078f6b4..f08c8bab7 100644 --- a/crates/parser/src/grammar.rs +++ b/crates/parser/src/grammar.rs | |||
@@ -55,7 +55,7 @@ pub(crate) mod fragments { | |||
55 | use super::*; | 55 | use super::*; |
56 | 56 | ||
57 | pub(crate) use super::{ | 57 | pub(crate) use super::{ |
58 | expressions::block_expr, paths::type_path as path, patterns::pattern, types::type_, | 58 | expressions::block_expr, paths::type_path as path, patterns::pattern_single, types::type_, |
59 | }; | 59 | }; |
60 | 60 | ||
61 | pub(crate) fn expr(p: &mut Parser) { | 61 | pub(crate) fn expr(p: &mut Parser) { |