We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
map_flatten
1 parent 627e910 commit e0f982bCopy full SHA for e0f982b
clippy_lints/src/methods/mod.rs
@@ -403,7 +403,7 @@ declare_clippy_lint! {
403
}
404
405
declare_clippy_lint! {
406
- /// **What it does:** Checks for usage of `_.map(_).flatten(_)`,
+ /// **What it does:** Checks for usage of `_.map(_).flatten(_)` on `Iterator` and `Option`
407
///
408
/// **Why is this bad?** Readability, this can be written more concisely as
409
/// `_.flat_map(_)`
0 commit comments