fix CI #12
GitHub Actions / Clippy (1.56.1)
failed
Oct 22, 2023 in 0s
Clippy (1.56.1)
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.66.0 (69f9c33d7 2022-12-12)
- cargo 1.66.0 (d65d197ad 2022-11-15)
- clippy 0.1.66 (69f9c33 2022-12-12)
Annotations
Check failure on line 1261 in halo2_proofs/src/plonk/evaluation.rs
github-actions / Clippy (1.56.1)
casting to the same type is unnecessary (`u32` -> `u32`)
error: casting to the same type is unnecessary (`u32` -> `u32`)
--> halo2_proofs/src/plonk/evaluation.rs:1261:25
|
1261 | let idx = (31 - (degree as u32).leading_zeros()) as usize;
| ^^^^^^^^^^^^^^^ help: try: `degree`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `-D clippy::unnecessary-cast` implied by `-D warnings`
Loading