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_clone
1 parent 67a9f20 commit f96dc2eCopy full SHA for f96dc2e
clippy_lints/src/map_clone.rs
@@ -19,9 +19,7 @@ pub struct Pass;
19
///
20
/// **Why is this bad?** Readability, this can be written more concisely
21
22
-/// **Known problems:** Sometimes `.cloned()` requires stricter trait
23
-/// bound than `.map(|e| e.clone())` (which works because of the coercion).
24
-/// See [#498](https://github.com/rust-lang-nursery/rust-clippy/issues/498).
+/// **Known problems:** None
25
26
/// **Example:**
27
0 commit comments