diff options
author | kjeremy <[email protected]> | 2020-01-13 16:27:06 +0000 |
---|---|---|
committer | kjeremy <[email protected]> | 2020-01-13 16:27:06 +0000 |
commit | a82c679c97af1e0aabe9eb375573d5d23fc75391 (patch) | |
tree | 59ff0d52538586ceecc8feb11cf1634418c886d7 /crates/ra_parser | |
parent | 5621f90071f576a8989cd09f98eb0fc6c9b7a612 (diff) |
Some clippy lints
Diffstat (limited to 'crates/ra_parser')
-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 ca8e075a1..e125c6b9c 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 => return, | 97 | Mode::Use => {} |
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) -> ()>; |