From 13a2f057763caaef86e740649b4a306f7f5c28e0 Mon Sep 17 00:00:00 2001 From: kwangin Date: Thu, 19 Apr 2018 23:00:16 +0900 Subject: [PATCH] Remove out for immutable variable --- src/streamer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streamer.rs b/src/streamer.rs index 368365ec7f..33882c31dc 100644 --- a/src/streamer.rs +++ b/src/streamer.rs @@ -152,7 +152,7 @@ fn recv_window( let mut contq = VecDeque::new(); while let Some(b) = dq.pop_front() { let b_ = b.clone(); - let mut p = b.write().unwrap(); + let p = b.write().unwrap(); let pix = p.get_index()? as usize; let w = pix % NUM_BLOBS; //TODO, after the block are authenticated