summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tokio-util/src/sync/cancellation_token.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio-util/src/sync/cancellation_token.rs b/tokio-util/src/sync/cancellation_token.rs
index 1f29e34a..a239a771 100644
--- a/tokio-util/src/sync/cancellation_token.rs
+++ b/tokio-util/src/sync/cancellation_token.rs
@@ -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.