From d600ab9a8f37e9eff3fa8587069a816b65b6da0b Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Thu, 27 Aug 2020 20:05:48 -0400 Subject: rt: Refactor `Runtime::block_on` to take `&self` (#2782) Co-authored-by: Eliza Weisman --- tests-integration/tests/rt_shell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests-integration') diff --git a/tests-integration/tests/rt_shell.rs b/tests-integration/tests/rt_shell.rs index 392c0519..012f44a7 100644 --- a/tests-integration/tests/rt_shell.rs +++ b/tests-integration/tests/rt_shell.rs @@ -18,7 +18,7 @@ fn basic_shell_rt() { }); for _ in 0..1_000 { - let mut rt = runtime::Builder::new().build().unwrap(); + let rt = runtime::Builder::new().build().unwrap(); let (tx, rx) = oneshot::channel(); -- cgit v1.2.3