doc: fix the comment above the lint function

This commit is contained in:
Guanqun Lu 2019-11-16 01:06:57 +08:00
parent 865f5c7c46
commit f2d8197110

View 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,