diff --git a/src/foo.rs b/src/foo.rs index 02d05a6..d71c95d 100644 --- a/src/foo.rs +++ b/src/foo.rs @@ -1,6 +1,6 @@ use std::time::{SystemTime, Duration}; pub fn delta() -> Duration { - let start = SystemTime::now(); let delta = start.elapsed().unwrap(); - delta + let start = SystemTime::now(); + start.elapsed().unwrap() }