Skip to content

Commit

Permalink
Auto merge of #96979 - SabrinaJewson:waker-update, r=workingjubilee
Browse files Browse the repository at this point in the history
Override `Waker::clone_from` to avoid cloning `Waker`s unnecessarily

This would be very useful for futures — I think it’s pretty much always what they want to do instead of `*waker = cx.waker().clone()`.

Tracking issue: rust-lang/rust#98287

r? rust-lang/libs-api `@rustbot` label +T-libs-api -T-libs
  • Loading branch information
bors committed Nov 5, 2023
2 parents cc22aa4 + 81bf2c3 commit f3b911d
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit f3b911d

Please sign in to comment.