From 3237df70f67740a93dd880dd13845b528928c0c3 Mon Sep 17 00:00:00 2001 From: Ignotus Peverell Date: Sun, 22 Oct 2017 09:14:18 +0000 Subject: [PATCH] Spurious mut, different lint level on CI --- grin/src/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grin/src/sync.rs b/grin/src/sync.rs index 9ce9a721..816aab20 100644 --- a/grin/src/sync.rs +++ b/grin/src/sync.rs @@ -161,7 +161,7 @@ impl Syncer { // retry blocks not downloading let now = Instant::now(); - for mut download in blocks_downloading.deref_mut() { + for download in blocks_downloading.deref_mut() { let elapsed = (now - download.start_time).as_secs(); if download.retries >= 8 { panic!("Failed to download required block {}", download.hash);