avoid converting types into themselves (clippy::useless_conversion)

This commit is contained in:
Matthias Krüger 2021-02-17 20:37:09 +01:00
parent ee88f46bb5
commit ec50a2086a
6 changed files with 7 additions and 8 deletions

View file

@ -513,7 +513,7 @@ impl<'a> Parser<'a> {
token::Ident(..) if this.is_mistaken_not_ident_negation() => {
make_it!(this, attrs, |this, _| this.recover_not_expr(lo))
}
_ => return this.parse_dot_or_call_expr(Some(attrs.into())),
_ => return this.parse_dot_or_call_expr(Some(attrs)),
}
}