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 a587a39 + d266aad commit 418e2aa
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 418e2aa

Please sign in to comment.