about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTakayuki Nakata <f.seasons017@gmail.com>2021-03-10 00:02:24 +0900
committerTakayuki Nakata <f.seasons017@gmail.com>2021-03-10 00:02:24 +0900
commite0f982bb3e975a3b5925e17790f6df70bad0c153 (patch)
treec1b102dacc6197053ad3b4f7c53abfc650bd84e4
parent627e910fe570239baaa318734378466a8501f073 (diff)
downloadrust-e0f982bb3e975a3b5925e17790f6df70bad0c153.tar.gz
rust-e0f982bb3e975a3b5925e17790f6df70bad0c153.zip
Improve doc on `map_flatten`
-rw-r--r--clippy_lints/src/methods/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs
index cc8dcacb1eb..612684dc4d8 100644
--- a/clippy_lints/src/methods/mod.rs
+++ b/clippy_lints/src/methods/mod.rs
@@ -403,7 +403,7 @@ declare_clippy_lint! {
 }
 
 declare_clippy_lint! {
-    /// **What it does:** Checks for usage of `_.map(_).flatten(_)`,
+    /// **What it does:** Checks for usage of `_.map(_).flatten(_)` on `Iterator` and `Option`
     ///
     /// **Why is this bad?** Readability, this can be written more concisely as
     /// `_.flat_map(_)`