From f96dc2e9e270da539ebd968203524e6141983643 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Tue, 15 Jan 2019 08:15:12 +0200 Subject: [PATCH] Remove `map_clone` fixed known problem --- clippy_lints/src/map_clone.rs | 4 +--- 1 file changed, 1 insertion(+), 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:** ///