We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1edea2 commit cf95b86Copy full SHA for cf95b86
clippy_lints/src/methods/iter_overeager_cloned.rs
@@ -37,7 +37,7 @@ pub(super) fn check<'tcx>(
37
let wildcard_params = map_arg.is_empty().not().then(|| "...").unwrap_or_default();
38
let msg = format!(
39
"called `cloned().{}({})` on an `Iterator`. It may be more efficient to call\
40
- `.{}({}){}` instead",
+ `{}({}){}` instead",
41
name,
42
wildcard_params,
43
0 commit comments