fix: remove (redundant) semicolon in lint suggestion

This commit is contained in:
Nadir Fejzic 2022-11-08 15:04:32 +01:00
parent 62ab4fb9c2
commit 862ac29192
3 changed files with 9 additions and 9 deletions

View file

@ -7,11 +7,11 @@ fn main() {
let _first = Instant::now();
let second = Duration::from_secs(3);
let _ = _first.checked_sub(second).unwrap();;
let _ = _first.checked_sub(second).unwrap();
let _ = Instant::now().checked_sub(Duration::from_secs(5)).unwrap();;
let _ = Instant::now().checked_sub(Duration::from_secs(5)).unwrap();
let _ = _first.checked_sub(Duration::from_secs(5)).unwrap();;
let _ = _first.checked_sub(Duration::from_secs(5)).unwrap();
let _ = Instant::now().checked_sub(second).unwrap();;
let _ = Instant::now().checked_sub(second).unwrap();
}