Skip to content

Commit e89ad4b

Browse files
committed
Fix comment
1 parent 043cf97 commit e89ad4b

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
@@ -3059,7 +3059,7 @@ fn lint_filter_map_map<'tcx>(
30593059
_filter_args: &'tcx [hir::Expr<'_>],
30603060
_map_args: &'tcx [hir::Expr<'_>],
30613061
) {
3062-
// lint if caller of `.filter().map()` is an Iterator
3062+
// lint if caller of `.filter_map().map()` is an Iterator
30633063
if match_trait_method(cx, expr, &paths::ITERATOR) {
30643064
let msg = "called `filter_map(..).map(..)` on an `Iterator`";
30653065
let hint = "this is more succinctly expressed by only calling `.filter_map(..)` instead";

0 commit comments

Comments
 (0)