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 e951f83 + 0948bf2 commit c966ddd
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit c966ddd

Please sign in to comment.