rust/clippy_lints
bors 52b2a5e50d Auto merge of #12529 - samueltardieu:issue-12528, r=y21
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
2024-03-22 15:11:52 +00:00
..
src Auto merge of #12529 - samueltardieu:issue-12528, r=y21 2024-03-22 15:11:52 +00:00
Cargo.toml Bump Clippy version -> 0.1.79 2024-03-21 22:06:41 +01:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.