Skip to content

Commit

Permalink
Fix code style issues with clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Jan 18, 2023
1 parent 5ac2a45 commit 5adee17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/foo.rs
Original file line number Diff line number Diff line change
@@ -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()
}

0 comments on commit 5adee17

Please sign in to comment.