fix: remove (redundant) semicolon in lint suggestion
This commit is contained in:
parent
62ab4fb9c2
commit
862ac29192
3 changed files with 9 additions and 9 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue