mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
runtime: fix comment typos (#6143)
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user