Upgrade to Rust 1.31.0 (#2052)

* Upgrade to Rust 1.31.0
* Upgrade nightly
* Fix all clippy warnings
* Revert relaxed version check and update
This commit is contained in:
Greg Fitzgerald
2018-12-07 20:01:28 -07:00
committed by GitHub
parent 2bad6584f6
commit 0a83b17cdd
70 changed files with 487 additions and 298 deletions

View File

@@ -90,7 +90,8 @@ impl WindowUtil for Window {
}
self[i].clear_data();
Some(pix)
}).collect()
})
.collect()
}
fn blob_idx_in_window(&self, id: &Pubkey, pix: u64, consumed: u64, received: &mut u64) -> bool {
@@ -226,7 +227,8 @@ impl WindowUtil for Window {
} else {
" "
}
}).collect();
})
.collect();
let buf: Vec<_> = self
.iter()
@@ -242,7 +244,8 @@ impl WindowUtil for Window {
// data.is_none()
"c"
}
}).collect();
})
.collect();
format!(
"\n{}: WINDOW ({}): {}\n{}: WINDOW ({}): {}",
id,