cargo +nightly fmt

This commit is contained in:
Greg Fitzgerald
2018-05-08 18:59:01 -06:00
parent 785e971698
commit 1dca17fdb4
7 changed files with 15 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
use std::time::{SystemTime, UNIX_EPOCH};
use std::time::Duration;
use std::time::{SystemTime, UNIX_EPOCH};
pub fn duration_as_ms(d: &Duration) -> u64 {
return (d.as_secs() * 1000) + (d.subsec_nanos() as u64 / 1_000_000);