avoid converting types into themselves (clippy::useless_conversion)
This commit is contained in:
parent
ee88f46bb5
commit
ec50a2086a
6 changed files with 7 additions and 8 deletions
|
@ -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)),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue