mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
2f0f4ddcf7
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