Repository navigation
Commit 4fb9eee
committed
Fix clippy lints flagged by newer stable (1.95)
- duration_suboptimal_units: Duration::from_millis(1000) -> from_secs(1)
- manual_checked_ops: manual zero-guarded division -> checked_div().unwrap_or(0)
Both are no-op behaviorally; the workspace denies all+pedantic so CI's
newer stable clippy failed the test+clippy job. Functionally identical.1 parent 046e4f5 commit 4fb9eee
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| |||
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
619 | | - | |
| 619 | + | |
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
| |||
0 commit comments