Update clap to v4.5 #5282
Triggered via pull request
September 14, 2024 12:48
Status
Failure
Total duration
1m 51s
Artifacts
–
Annotations
2 errors
`base_q_idx.saturating_add(63)` is never greater than `255` and has therefore no effect:
src/rate.rs#L560
error: `base_q_idx.saturating_add(63)` is never greater than `255` and has therefore no effect
--> src/rate.rs:560:18
|
560 | let max_qi = base_q_idx.saturating_add(63).min(255);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `base_q_idx.saturating_add(63)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_min_or_max
= note: `-D clippy::unnecessary-min-or-max` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_min_or_max)]`
|
rustfmt-clippy
Clippy has exited with exit code 101
|