From: Guanqun Lu Date: Fri, 15 Nov 2019 17:06:57 +0000 (+0800) Subject: doc: fix the comment above the lint function X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=f2d81971104627f88f2a5e0c162b11a00d621cb1;p=rust.git doc: fix the comment above the lint function --- diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index db94d9dcdaf..a2954a0d7bf 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,