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

This commit is contained in:
Taiki Endo
2020-10-07 15:46:13 -07:00
committed by GitHub
parent a9a59ea90e
commit d94ab62c54
+1 -1
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.