Remove empty lines following braces.

This commit is contained in:
Josh Matthews 2016-05-27 13:32:05 -04:00
parent 4ebc065cba
commit 3cb8af20c2
69 changed files with 3 additions and 162 deletions

View file

@ -8,7 +8,6 @@ use std::{u32, u64};
pub const NANOS_PER_SEC: u32 = 1_000_000_000;
pub fn duration_from_seconds(secs: f64) -> Duration {
// Get number of seconds and check that it fits in a u64.
let whole_secs = secs.trunc();
assert!(whole_secs >= 0.0 && whole_secs <= u64::MAX as f64);