summaryrefslogtreecommitdiffstats
path: root/tokio/tests/io_driver.rs
diff options
context:
space:
mode:
authorLucio Franco <luciofranco14@gmail.com>2020-08-27 20:05:48 -0400
committerGitHub <noreply@github.com>2020-08-27 20:05:48 -0400
commitd600ab9a8f37e9eff3fa8587069a816b65b6da0b (patch)
tree06d14901604c5c7822b43d9f4973fdccd15509e7 /tokio/tests/io_driver.rs
parentd9d909cb4c6d326423ee02fbcf6bbfe5553d2c0a (diff)
rt: Refactor `Runtime::block_on` to take `&self` (#2782)
Co-authored-by: Eliza Weisman <eliza@buoyant.io>
Diffstat (limited to 'tokio/tests/io_driver.rs')
-rw-r--r--tokio/tests/io_driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/tests/io_driver.rs b/tokio/tests/io_driver.rs
index b85abd8c..d4f4f8d4 100644
--- a/tokio/tests/io_driver.rs
+++ b/tokio/tests/io_driver.rs
@@ -45,7 +45,7 @@ fn test_drop_on_notify() {
// shutting down. Then, when the task handle is dropped, the task itself is
// dropped.
- let mut rt = runtime::Builder::new()
+ let rt = runtime::Builder::new()
.basic_scheduler()
.enable_all()
.build()