Update crates.
Fmt. Clippy.
This commit is contained in:
@@ -6,7 +6,9 @@ pub struct Timer {
|
||||
|
||||
impl Timer {
|
||||
pub fn new() -> Timer {
|
||||
Timer { time: Instant::now() }
|
||||
Timer {
|
||||
time: Instant::now(),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn current_time(&self) -> f64 {
|
||||
|
||||
Reference in New Issue
Block a user