Cleanup nightly warnings (#7055)

This commit is contained in:
Jack May
2019-11-19 20:15:37 -08:00
committed by GitHub
parent d32a072190
commit d2ed921bc6
7 changed files with 17 additions and 19 deletions

View File

@@ -637,7 +637,7 @@ impl ClusterInfo {
fanout: usize,
select_index: usize,
curr_index: usize,
) -> Option<(Locality)> {
) -> Option<Locality> {
let end = layer_indices.len() - 1;
let next = min(end, curr_index + 1);
let layer_start = layer_indices[curr_index];