Merge pull request #133 from djKooks/rm-mut

Remove out for immutable variable
This commit is contained in:
Greg Fitzgerald 2018-04-19 08:24:32 -06:00 committed by GitHub
commit 64e2f1b949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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