Upgrade to rust 1.39.0 (#6939)
* Upgrade to rust 1.39.0 * 1.39.0 clippy
This commit is contained in:
@ -150,7 +150,7 @@ impl LeaderScheduleCache {
|
||||
}
|
||||
start_index = 0;
|
||||
}
|
||||
first_slot.and_then(|slot| Some((slot, last_slot)))
|
||||
first_slot.map(|slot| (slot, last_slot))
|
||||
}
|
||||
|
||||
fn slot_leader_at_no_compute(&self, slot: Slot) -> Option<Pubkey> {
|
||||
|
Reference in New Issue
Block a user