fix a couple of clippy warnings:

filter_next
manual_strip
redundant_static_lifetimes
single_char_pattern
unnecessary_cast
unused_unit
op_ref
redundant_closure
useless_conversion
This commit is contained in:
Matthias Krüger 2020-11-04 13:48:50 +01:00
parent 56293097f7
commit bcd2f2df67
11 changed files with 14 additions and 21 deletions

View file

@ -739,7 +739,6 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
"cannot infer {} {} {} `{}`{}",
kind_str, preposition, descr, type_name, parent_desc
)
.into()
}
}
}