Fix unneeded mut and some deprecated api (#442)

This commit is contained in:
Roman
2018-06-21 09:47:21 -07:00
committed by Carl Lerche
parent 7153d8d6ce
commit 3cf56b7bfa
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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 || {
{