rust-clippy/clippy_utils
bors 2f0f4ddcf7 Auto merge of #11698 - a1phyr:waker_clone_and_wake, r=y21
Add `waker_clone_and_wake` lint to check needless `Waker` clones

Check for patterns of `waker.clone().wake()` and replace them with `waker.wake_by_ref()`.

An alternative name could be `waker_clone_then_wake`

changelog: [ `waker_clone_wake`]: new lint
2023-10-26 21:01:40 +00:00
..
src Auto merge of #11698 - a1phyr:waker_clone_and_wake, r=y21 2023-10-26 21:01:40 +00:00
Cargo.toml Move configuration to new clippy_config crate 2023-10-23 20:05:10 +00:00