Skip to content

Commit a1ee3ef

Browse files
chore: fix some minor typos in the comments (#7442)
Signed-off-by: shangchenglumetro <[email protected]>
1 parent 171cd14 commit a1ee3ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tokio-util/tests/task_join_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ async fn duplicate_keys2() {
330330
biased;
331331
res = map.join_next() => match res {
332332
Some((_key, res)) => panic!("Task {res:?} exited."),
333-
None => panic!("Phantom task completeion."),
333+
None => panic!("Phantom task completion."),
334334
},
335335
() = tokio::task::yield_now() => {},
336336
}

tokio/src/process/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ impl Command {
943943
/// Small indirection for the spawn implementations.
944944
///
945945
/// This is introduced for [`Self::spawn`] and [`Self::spawn_with`] to use:
946-
/// [`Self::spawn`] cannot depend directly on on [`Self::spawn_with`] since
946+
/// [`Self::spawn`] cannot depend directly on [`Self::spawn_with`] since
947947
/// it is behind `tokio_unstable`. It also serves as a way to reduce
948948
/// monomorphization bloat by taking in an already-spawned child process
949949
/// instead of a command and custom spawn function.

0 commit comments

Comments
 (0)