Skip to content

Commit

Permalink
runtime: fix comment typos (#6143)
Browse files Browse the repository at this point in the history
  • Loading branch information
wutchzone committed Nov 19, 2023
1 parent 7b55518 commit 340d4e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tokio/src/runtime/scheduler/multi_thread/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ impl Core {
);

// Take at least one task since the first task is returned directly
// and nto pushed onto the local queue.
// and not pushed onto the local queue.
let n = usize::max(1, n);

let mut synced = worker.handle.shared.synced.lock();
Expand Down
2 changes: 1 addition & 1 deletion tokio/src/task/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ mod tests {
// Does a `LocalSet` running on a current-thread runtime...basically work?
//
// This duplicates a test in `tests/task_local_set.rs`, but because this is
// a lib test, it wil run under Miri, so this is necessary to catch stacked
// a lib test, it will run under Miri, so this is necessary to catch stacked
// borrows violations in the `LocalSet` implementation.
#[test]
fn local_current_thread_scheduler() {
Expand Down
2 changes: 1 addition & 1 deletion tokio/tests/rt_handle_block_on.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

// All io tests that deal with shutdown is currently ignored because there are known bugs in with
// shutting down the io driver while concurrently registering new resources. See
// https://github.com/tokio-rs/tokio/pull/3569#pullrequestreview-612703467 fo more details.
// https://github.com/tokio-rs/tokio/pull/3569#pullrequestreview-612703467 for more details.
//
// When this has been fixed we want to re-enable these tests.

Expand Down

0 comments on commit 340d4e5

Please sign in to comment.