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

@@ -238,7 +238,8 @@ pub fn retransmit_all_leader_blocks(
.add_field(
"count",
influxdb::Value::Integer(retransmit_queue.len() as i64),
).to_owned(),
)
.to_owned(),
);
if !retransmit_queue.is_empty() {
@@ -641,7 +642,8 @@ mod test {
let begin = k * gap + 1;
let end = (k + 1) * gap;
(begin..end)
}).collect();
})
.collect();
assert_eq!(
find_missing_data_indexes(
slot,