Fix unnecessary parentheses warnings #223
GitHub Actions / clippy
succeeded
Jun 14, 2024 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0 (129f3b996 2024-06-10)
- cargo 1.79.0 (ffa9cf99a 2024-06-03)
- clippy 0.1.79 (129f3b9 2024-06-10)
Annotations
Check warning on line 195 in fft/tests/fftwrap.rs
github-actions / clippy
casting raw pointers to the same type and constness is unnecessary (`*mut i32` -> `*mut i32`)
warning: casting raw pointers to the same type and constness is unnecessary (`*mut i32` -> `*mut i32`)
--> fft/tests/fftwrap.rs:195:13
|
195 | original_drft_lookup.splitcache as *mut i32,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `original_drft_lookup.splitcache`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
Check warning on line 187 in fft/tests/fftwrap.rs
github-actions / clippy
casting raw pointers to the same type and constness is unnecessary (`*mut f32` -> `*mut f32`)
warning: casting raw pointers to the same type and constness is unnecessary (`*mut f32` -> `*mut f32`)
--> fft/tests/fftwrap.rs:187:13
|
187 | original_drft_lookup.trigcache as *mut f32,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `original_drft_lookup.trigcache`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
Loading