From f2d81971104627f88f2a5e0c162b11a00d621cb1 Mon Sep 17 00:00:00 2001 From: Guanqun Lu Date: Sat, 16 Nov 2019 01:06:57 +0800 Subject: [PATCH] doc: fix the comment above the lint function --- clippy_lints/src/methods/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index db94d9dcdafa..a2954a0d7bff 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -2432,7 +2432,7 @@ fn lint_find_map<'a, 'tcx>( } } -/// lint use of `filter().map()` for `Iterators` +/// lint use of `filter_map().map()` for `Iterators` fn lint_filter_map_map<'a, 'tcx>( cx: &LateContext<'a, 'tcx>, expr: &'tcx hir::Expr,