summaryrefslogtreecommitdiffstats
path: root/tokio-threadpool/src/pool/backup_stack.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-threadpool/src/pool/backup_stack.rs')
-rw-r--r--tokio-threadpool/src/pool/backup_stack.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio-threadpool/src/pool/backup_stack.rs b/tokio-threadpool/src/pool/backup_stack.rs
index b2a54d64..c330a036 100644
--- a/tokio-threadpool/src/pool/backup_stack.rs
+++ b/tokio-threadpool/src/pool/backup_stack.rs
@@ -46,7 +46,7 @@ impl BackupStack {
/// Returns `Ok` on success.
///
/// Returns `Err` if the pool has transitioned to the `TERMINATED` state.
- /// Whene terminated, pushing new entries is no longer permitted.
+ /// When terminated, pushing new entries is no longer permitted.
pub fn push(&self, entries: &[Backup], id: BackupId) -> Result<(), ()> {
let mut state: State = self.state.load(Acquire).into();