summaryrefslogtreecommitdiffstats
path: root/tokio-threadpool/src/worker/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-threadpool/src/worker/mod.rs')
-rw-r--r--tokio-threadpool/src/worker/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio-threadpool/src/worker/mod.rs b/tokio-threadpool/src/worker/mod.rs
index b71dbd26..3ac7f039 100644
--- a/tokio-threadpool/src/worker/mod.rs
+++ b/tokio-threadpool/src/worker/mod.rs
@@ -732,7 +732,7 @@ impl Worker {
}
}
Shutdown | Running => {
- // To get here, the block above transitioned the tate to
+ // To get here, the block above transitioned the state to
// `Sleeping`. No other thread can concurrently
// transition to `Shutdown` or `Running`.
unreachable!();
@@ -805,7 +805,7 @@ impl Worker {
}
}
Shutdown | Running => {
- // To get here, the block above transitioned the tate to
+ // To get here, the block above transitioned the state to
// `Sleeping`. No other thread can concurrently
// transition to `Shutdown` or `Running`.
unreachable!();