about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-05 21:44:24 +0000
committerbors <bors@rust-lang.org>2023-11-05 21:44:24 +0000
commitfee5518cdd4435c60a57fe3bb734fc1a14abeb7a (patch)
tree9245f869eb7abd94d298da146aa3fe092e36fd8a /compiler/rustc_parse/src/errors.rs
parentc1ccc29cd6eeb79f24511d75e9db553385a5d73f (diff)
parent6cdb7df44313d395ce582331c9191e278f227422 (diff)
downloadrust-fee5518cdd4435c60a57fe3bb734fc1a14abeb7a.tar.gz
rust-fee5518cdd4435c60a57fe3bb734fc1a14abeb7a.zip
Auto merge of #96979 - SabrinaJewson:waker-update, r=workingjubilee
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: https://github.com/rust-lang/rust/issues/98287

r? rust-lang/libs-api `@rustbot` label +T-libs-api -T-libs
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions