Skip to content

Commit f96dc2e

Browse files
author
Michael Wright
committed
Remove map_clone fixed known problem
1 parent 67a9f20 commit f96dc2e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clippy_lints/src/map_clone.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ pub struct Pass;
1919
///
2020
/// **Why is this bad?** Readability, this can be written more concisely
2121
///
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).
22+
/// **Known problems:** None
2523
///
2624
/// **Example:**
2725
///

0 commit comments

Comments
 (0)