Skip to content

Commit f2d8197

Browse files
author
Guanqun Lu
committed
doc: fix the comment above the lint function
1 parent 865f5c7 commit f2d8197

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2432,7 +2432,7 @@ fn lint_find_map<'a, 'tcx>(
24322432
}
24332433
}
24342434

2435-
/// lint use of `filter().map()` for `Iterators`
2435+
/// lint use of `filter_map().map()` for `Iterators`
24362436
fn lint_filter_map_map<'a, 'tcx>(
24372437
cx: &LateContext<'a, 'tcx>,
24382438
expr: &'tcx hir::Expr,

0 commit comments

Comments
 (0)