Remove map_clone
fixed known problem
This commit is contained in:
parent
67a9f20c91
commit
f96dc2e9e2
@ -19,9 +19,7 @@ pub struct Pass;
|
|||||||
///
|
///
|
||||||
/// **Why is this bad?** Readability, this can be written more concisely
|
/// **Why is this bad?** Readability, this can be written more concisely
|
||||||
///
|
///
|
||||||
/// **Known problems:** Sometimes `.cloned()` requires stricter trait
|
/// **Known problems:** None
|
||||||
/// bound than `.map(|e| e.clone())` (which works because of the coercion).
|
|
||||||
/// See [#498](https://github.com/rust-lang-nursery/rust-clippy/issues/498).
|
|
||||||
///
|
///
|
||||||
/// **Example:**
|
/// **Example:**
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user