compiler: clippy::complexity fixes
useless_format map_flatten useless_conversion needless_bool filter_next clone_on_copy needless_option_as_deref
This commit is contained in:
parent
4e8fb743cc
commit
b80057d08d
22 changed files with 39 additions and 45 deletions
|
@ -1039,7 +1039,7 @@ fn check_matcher_core(
|
|||
));
|
||||
err.span_suggestion(
|
||||
span,
|
||||
&format!("try a `pat_param` fragment specifier instead"),
|
||||
"try a `pat_param` fragment specifier instead",
|
||||
suggestion,
|
||||
Applicability::MaybeIncorrect,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue