Skip to content

Add better random number functions. #118

Add better random number functions.

Add better random number functions. #118

Triggered via push December 30, 2024 15:22
Status Success
Total duration 21s
Artifacts

clippy.yml

on: push
clippy-check
10s
clippy-check
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
casting to the same type is unnecessary (`u32` -> `u32`): src/lib.rs#L483
warning: casting to the same type is unnecessary (`u32` -> `u32`) --> src/lib.rs:483:20 | 483 | let temp = rand() as u32; | ^^^^^^^^^^^^^ help: try: `rand()` | = 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
casting to the same type is unnecessary (`u32` -> `u32`): src/lib.rs#L483
warning: casting to the same type is unnecessary (`u32` -> `u32`) --> src/lib.rs:483:20 | 483 | let temp = rand() as u32; | ^^^^^^^^^^^^^ help: try: `rand()` | = 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
clippy-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636