mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
util: fix a typo in sync/cancellation_token.rs (#2922)
This commit is contained in:
parent
a9a59ea90e
commit
d94ab62c54
@ -624,7 +624,7 @@ impl CancellationTokenState {
|
||||
|
||||
if removed_child {
|
||||
// If the token removed itself from the parents list, it can reset
|
||||
// the the parent ref status. If it is isn't able to do so, because the
|
||||
// the parent ref status. If it is isn't able to do so, because the
|
||||
// parent removed it from the list, there is no need to do this.
|
||||
// The parent ref acts as as another reference count. Therefore
|
||||
// removing this reference can free the object.
|
||||
|
Loading…
x
Reference in New Issue
Block a user