Rollup merge of #4820 - guanqun:comment-fix, r=flip1995

doc: fix the comment above the lint function

it's a simple comment fix.

---

changelog: none
This commit is contained in:
Philipp Krones 2019-11-23 18:16:01 +01:00 committed by GitHub
commit ae69bc4980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2403,7 +2403,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,