diff options
| author | Michael Wright <mikerite@lavabit.com> | 2019-01-15 08:15:12 +0200 |
|---|---|---|
| committer | Michael Wright <mikerite@lavabit.com> | 2019-01-15 08:15:12 +0200 |
| commit | f96dc2e9e270da539ebd968203524e6141983643 (patch) | |
| tree | 435a1f84ec66a8fd2a33c37c9fc5228d0359517e | |
| parent | 67a9f20c91fcb7281b46514bd866e353347a4416 (diff) | |
| download | rust-f96dc2e9e270da539ebd968203524e6141983643.tar.gz rust-f96dc2e9e270da539ebd968203524e6141983643.zip | |
Remove `map_clone` fixed known problem
| -rw-r--r-- | clippy_lints/src/map_clone.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clippy_lints/src/map_clone.rs b/clippy_lints/src/map_clone.rs index 0fb0d8d690f..4db0ca759db 100644 --- a/clippy_lints/src/map_clone.rs +++ b/clippy_lints/src/map_clone.rs @@ -19,9 +19,7 @@ pub struct Pass; /// /// **Why is this bad?** Readability, this can be written more concisely /// -/// **Known problems:** Sometimes `.cloned()` requires stricter trait -/// bound than `.map(|e| e.clone())` (which works because of the coercion). -/// See [#498](https://github.com/rust-lang-nursery/rust-clippy/issues/498). +/// **Known problems:** None /// /// **Example:** /// |
