Skip to content

Commit 56d252c

Browse files
rsulli55flip1995
andcommitted
Update clippy_lints/src/methods/mod.rs
Co-authored-by: Philipp Krones <[email protected]>
1 parent fd30313 commit 56d252c

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3053,7 +3053,7 @@ fn lint_search_is_some<'tcx>(
30533053
// lint if caller of search is an Iterator
30543054
if match_trait_method(cx, &is_some_args[0], &paths::ITERATOR) {
30553055
let msg = format!(
3056-
"called `is_some()` after searching an `Iterator` with {}",
3056+
"called `is_some()` after searching an `Iterator` with `{}`",
30573057
search_method
30583058
);
30593059
let hint = "this is more succinctly expressed by calling `any()`";

0 commit comments

Comments
 (0)