Remove out for immutable variable

This commit is contained in:
kwangin
2018-04-19 23:00:16 +09:00
parent 903374ae9b
commit 13a2f05776

View File

@ -152,7 +152,7 @@ fn recv_window(
let mut contq = VecDeque::new(); let mut contq = VecDeque::new();
while let Some(b) = dq.pop_front() { while let Some(b) = dq.pop_front() {
let b_ = b.clone(); let b_ = b.clone();
let mut p = b.write().unwrap(); let p = b.write().unwrap();
let pix = p.get_index()? as usize; let pix = p.get_index()? as usize;
let w = pix % NUM_BLOBS; let w = pix % NUM_BLOBS;
//TODO, after the block are authenticated //TODO, after the block are authenticated