Skip to content

Commit

Permalink
Remove unneeded mut (tokio-rs#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino authored and alexcrichton committed Aug 17, 2017
1 parent 1e35e16 commit f1c59af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/test_tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ fn read_bufs() {

poll.register(&s, Token(1), Ready::readable(), PollOpt::level()).unwrap();

let mut b1 = &mut [0; 10][..];
let mut b2 = &mut [0; 383][..];
let mut b3 = &mut [0; 28][..];
let mut b4 = &mut [0; 8][..];
let mut b5 = &mut [0; 128][..];
let b1 = &mut [0; 10][..];
let b2 = &mut [0; 383][..];
let b3 = &mut [0; 28][..];
let b4 = &mut [0; 8][..];
let b5 = &mut [0; 128][..];
let mut b: [&mut IoVec; 5] = [
b1.into(),
b2.into(),
Expand Down

0 comments on commit f1c59af

Please sign in to comment.