summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoman <humbug@deeptown.org>2018-06-21 20:47:21 +0400
committerCarl Lerche <me@carllerche.com>2018-06-21 09:47:21 -0700
commit3cf56b7bfa98455801748bc5351238ada93d8ea8 (patch)
treeaf10441e6120720c2ba4243de8ca9313d1718fd4 /tests
parent7153d8d6ce016ddbf47a872fac2f0bf179ae01ab (diff)
Fix unneeded mut and some deprecated api (#442)
Diffstat (limited to 'tests')
-rw-r--r--tests/runtime.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtime.rs b/tests/runtime.rs
index 738e4a9d..06ada9c8 100644
--- a/tests/runtime.rs
+++ b/tests/runtime.rs
@@ -179,7 +179,7 @@ fn spawn_from_block_on_all() {
let cnt = Arc::new(Mutex::new(0));
let c = cnt.clone();
- let mut runtime = Runtime::new().unwrap();
+ let runtime = Runtime::new().unwrap();
let msg = runtime
.block_on_all(lazy(move || {
{