mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
52b2a5e50d
Do not warn on .map(_::clone) for Arc, Rc, and their weak variants Those constructions are idiomatic, and using `Arc::clone(x)` and `Rc::clone(x)` is often the recommended way of cloning a `Arc` or a `Rc`. Fix #12528 changelog: [`map_clone`]: do not warn on `.map(_::clone)` for `Arc`, `Rc`, and their `Weak` variants |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |