We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd30313 commit 56d252cCopy full SHA for 56d252c
clippy_lints/src/methods/mod.rs
@@ -3053,7 +3053,7 @@ fn lint_search_is_some<'tcx>(
3053
// lint if caller of search is an Iterator
3054
if match_trait_method(cx, &is_some_args[0], &paths::ITERATOR) {
3055
let msg = format!(
3056
- "called `is_some()` after searching an `Iterator` with {}",
+ "called `is_some()` after searching an `Iterator` with `{}`",
3057
search_method
3058
);
3059
let hint = "this is more succinctly expressed by calling `any()`";
0 commit comments