diff options
Diffstat (limited to 'crates/libsyntax2/src/grammar/mod.rs')
-rw-r--r-- | crates/libsyntax2/src/grammar/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar/mod.rs b/crates/libsyntax2/src/grammar/mod.rs index d09a9dc9c..0f168eb60 100644 --- a/crates/libsyntax2/src/grammar/mod.rs +++ b/crates/libsyntax2/src/grammar/mod.rs | |||
@@ -113,7 +113,7 @@ fn abi(p: &mut Parser) { | |||
113 | abi.complete(p, ABI); | 113 | abi.complete(p, ABI); |
114 | } | 114 | } |
115 | 115 | ||
116 | fn fn_ret_type(p: &mut Parser) -> bool { | 116 | fn opt_fn_ret_type(p: &mut Parser) -> bool { |
117 | if p.at(THIN_ARROW) { | 117 | if p.at(THIN_ARROW) { |
118 | p.bump(); | 118 | p.bump(); |
119 | types::type_(p); | 119 | types::type_(p); |