summaryrefslogtreecommitdiffstats
path: root/tokio-util
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2020-10-08 07:46:13 +0900
committerGitHub <noreply@github.com>2020-10-07 15:46:13 -0700
commitd94ab62c54ac594f912a116965fecbdfb5e1d3e6 (patch)
treef257a55d1a639fe8355237dc7bd32f9c294dd022 /tokio-util
parenta9a59ea90eb0fc242bef3bed12986425b66206ee (diff)
util: fix a typo in sync/cancellation_token.rs (#2922)
Diffstat (limited to 'tokio-util')
-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.