]> git.lizzy.rs Git - rust.git/commitdiff
doc: fix the comment above the lint function
authorGuanqun Lu <guanqun.lu@gmail.com>
Fri, 15 Nov 2019 17:06:57 +0000 (01:06 +0800)
committerGuanqun Lu <guanqun.lu@gmail.com>
Fri, 15 Nov 2019 17:55:06 +0000 (01:55 +0800)
clippy_lints/src/methods/mod.rs

index db94d9dcdafa38c06768baceedfa258729d7ca6a..a2954a0d7bffa67e1b98c6ce25e56bd98fc3c969 100644 (file)
@@ -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,