Upgrade to Rust 1.41.1 (#8529)

automerge
This commit is contained in:
mergify[bot]
2020-02-28 10:07:39 -08:00
committed by GitHub
parent 80206decf8
commit 797e4b11e2
6 changed files with 7 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ pub fn timestamp() -> u64 {
duration_as_ms(&now)
}
pub const SECONDS_PER_YEAR: f64 = (365.242_199 * 24.0 * 60.0 * 60.0);
pub const SECONDS_PER_YEAR: f64 = 365.242_199 * 24.0 * 60.0 * 60.0;
/// from years to slots
pub fn years_as_slots(years: f64, tick_duration: &Duration, ticks_per_slot: u64) -> f64 {