diff options
author | Mathias Lafeldt <mathias.lafeldt@gmail.com> | 2022-08-21 19:31:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-21 19:31:14 +0200 |
commit | e96933bc163fd81a276cbc169b17f76724a5ac33 (patch) | |
tree | 9baab891a4035c4a03b490bb81ade8b42c426d9a /core/async_cancel.rs | |
parent | fb2aeb79a113e576ff2cc4f1bf3fc30741969508 (diff) |
chore: use Rust 1.63.0 (#15464)
Diffstat (limited to 'core/async_cancel.rs')
-rw-r--r-- | core/async_cancel.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/async_cancel.rs b/core/async_cancel.rs index 55ab8f4d1..11b07e189 100644 --- a/core/async_cancel.rs +++ b/core/async_cancel.rs @@ -219,7 +219,7 @@ mod internal { // Do a cancellation check _before_ polling the inner future. If it has // already been canceled the inner future will not be polled. let node = match &*registration { - Registration::WillRegister { head_node } => &*head_node, + Registration::WillRegister { head_node } => head_node, Registration::Registered { node } => node, }; if node.is_canceled() { |