No longer need explicit refs in rustc 1.26

This commit is contained in:
Greg Fitzgerald
2018-06-04 17:17:23 -06:00
parent 69b3c75f0d
commit 7e788d3a17
7 changed files with 20 additions and 24 deletions

View File

@ -45,7 +45,7 @@ where
for i in 0..(num * 32) {
done = false;
trace!("round {}", i);
for &(ref c, _, _) in listen.iter() {
for (c, _, _) in &listen {
if num == c.read().unwrap().convergence() as usize {
done = true;
break;