Some clippy lints

This commit is contained in:
kjeremy 2020-01-13 11:27:06 -05:00
parent 5621f90071
commit a82c679c97
10 changed files with 45 additions and 46 deletions

View file

@ -94,7 +94,7 @@ fn path_segment(p: &mut Parser, mode: Mode, first: bool) {
fn opt_path_type_args(p: &mut Parser, mode: Mode) {
match mode {
Mode::Use => return,
Mode::Use => {}
Mode::Type => {
// test path_fn_trait_args
// type F = Box<Fn(x: i32) -> ()>;