Add better random number functions. #118
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
|