util: fix a typo in sync/cancellation_token.rs (#2922)

This commit is contained in:
Taiki Endo 2020-10-08 07:46:13 +09:00 committed by GitHub
parent a9a59ea90e
commit d94ab62c54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.