From 8880222036f37c6204c8466f25e828447f16dacb Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Mon, 12 Oct 2020 13:44:54 -0400 Subject: rt: Remove `threaded_scheduler()` and `basic_scheduler()` (#2876) Co-authored-by: Alice Ryhl Co-authored-by: Carl Lerche --- tokio/tests/io_driver.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tokio/tests/io_driver.rs') diff --git a/tokio/tests/io_driver.rs b/tokio/tests/io_driver.rs index 01be3659..82fb1021 100644 --- a/tokio/tests/io_driver.rs +++ b/tokio/tests/io_driver.rs @@ -45,8 +45,7 @@ fn test_drop_on_notify() { // shutting down. Then, when the task handle is dropped, the task itself is // dropped. - let rt = runtime::Builder::new() - .basic_scheduler() + let rt = runtime::Builder::new_current_thread() .enable_all() .build() .unwrap(); -- cgit v1.2.3