fix couple of clippy findings:
filter_map_identity iter_kv_map needless_question_mark redundant_at_rest_pattern filter_next derivable_impls
This commit is contained in:
parent
cec34a43b1
commit
adf759bf6a
6 changed files with 8 additions and 16 deletions
|
@ -49,7 +49,7 @@ impl<'a> Parser<'a> {
|
|||
&& self.check_ident()
|
||||
// `Const` followed by IDENT
|
||||
{
|
||||
return Ok(self.recover_const_param_with_mistyped_const(preceding_attrs, ident)?);
|
||||
return self.recover_const_param_with_mistyped_const(preceding_attrs, ident);
|
||||
}
|
||||
|
||||
// Parse optional colon and param bounds.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue