diff --git a/tokio-util/tests/task_join_map.rs b/tokio-util/tests/task_join_map.rs index 79b47154c..c86d76daf 100644 --- a/tokio-util/tests/task_join_map.rs +++ b/tokio-util/tests/task_join_map.rs @@ -330,7 +330,7 @@ async fn duplicate_keys2() { biased; res = map.join_next() => match res { Some((_key, res)) => panic!("Task {res:?} exited."), - None => panic!("Phantom task completeion."), + None => panic!("Phantom task completion."), }, () = tokio::task::yield_now() => {}, } diff --git a/tokio/src/process/mod.rs b/tokio/src/process/mod.rs index eba17cff3..bff20fcd2 100644 --- a/tokio/src/process/mod.rs +++ b/tokio/src/process/mod.rs @@ -943,7 +943,7 @@ impl Command { /// Small indirection for the spawn implementations. /// /// This is introduced for [`Self::spawn`] and [`Self::spawn_with`] to use: - /// [`Self::spawn`] cannot depend directly on on [`Self::spawn_with`] since + /// [`Self::spawn`] cannot depend directly on [`Self::spawn_with`] since /// it is behind `tokio_unstable`. It also serves as a way to reduce /// monomorphization bloat by taking in an already-spawned child process /// instead of a command and custom spawn function.