runtime: fix comment typos (#6143)

This commit is contained in:
Daniel Sedlak
2023-11-19 14:01:29 +01:00
committed by GitHub
parent 7b555185ff
commit 340d4e5238
3 changed files with 3 additions and 3 deletions
@@ -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();
+1 -1
View File
@@ -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() {
+1 -1
View File
@@ -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.