diff options
author | kjeremy <[email protected]> | 2020-01-13 16:38:53 +0000 |
---|---|---|
committer | kjeremy <[email protected]> | 2020-01-13 16:38:53 +0000 |
commit | c5c5f4260b4ab1a03d2d3f7a616202369adc9ade (patch) | |
tree | 4ef3658ab7cd5b865fbc5c9e96795719bc87ead8 /crates/ra_parser/src/grammar | |
parent | a82c679c97af1e0aabe9eb375573d5d23fc75391 (diff) |
Readability
Diffstat (limited to 'crates/ra_parser/src/grammar')
-rw-r--r-- | crates/ra_parser/src/grammar/paths.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar/paths.rs b/crates/ra_parser/src/grammar/paths.rs index e125c6b9c..ca8e075a1 100644 --- a/crates/ra_parser/src/grammar/paths.rs +++ b/crates/ra_parser/src/grammar/paths.rs | |||
@@ -94,7 +94,7 @@ fn path_segment(p: &mut Parser, mode: Mode, first: bool) { | |||
94 | 94 | ||
95 | fn opt_path_type_args(p: &mut Parser, mode: Mode) { | 95 | fn opt_path_type_args(p: &mut Parser, mode: Mode) { |
96 | match mode { | 96 | match mode { |
97 | Mode::Use => {} | 97 | Mode::Use => return, |
98 | Mode::Type => { | 98 | Mode::Type => { |
99 | // test path_fn_trait_args | 99 | // test path_fn_trait_args |
100 | // type F = Box<Fn(x: i32) -> ()>; | 100 | // type F = Box<Fn(x: i32) -> ()>; |