diff options
| author | Takayuki Nakata <f.seasons017@gmail.com> | 2021-03-10 00:02:24 +0900 |
|---|---|---|
| committer | Takayuki Nakata <f.seasons017@gmail.com> | 2021-03-10 00:02:24 +0900 |
| commit | e0f982bb3e975a3b5925e17790f6df70bad0c153 (patch) | |
| tree | c1b102dacc6197053ad3b4f7c53abfc650bd84e4 | |
| parent | 627e910fe570239baaa318734378466a8501f073 (diff) | |
| download | rust-e0f982bb3e975a3b5925e17790f6df70bad0c153.tar.gz rust-e0f982bb3e975a3b5925e17790f6df70bad0c153.zip | |
Improve doc on `map_flatten`
| -rw-r--r-- | clippy_lints/src/methods/mod.rs | 2 |
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(_)` |
