Open 0323pin opened 1 month ago
🚀 All tests passed.
So clippy
using rust-1.76 in the CI is happy 🥳
But, locally with rust-1.80.1 I get the following:
Checking hck v0.10.2 (/home/pin/Downloads/hck)
warning: transmute used without annotations
--> src/lib/core.rs:448:44
|
448 | shuffler = unsafe { core::mem::transmute(s) };
| ^^^^^^^^^ help: consider adding missing annotations: `transmute::<std::vec::Vec<std::vec::Vec<&[u8]>>, std::vec::Vec<std::vec::Vec<&[u8]>>>`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_transmute_annotations
= note: `#[warn(clippy::missing_transmute_annotations)]` on by default
warning: transmute used without annotations
--> src/lib/core.rs:524:48
|
524 | shuffler = unsafe { core::mem::transmute(s) };
| ^^^^^^^^^ help: consider adding missing annotations: `transmute::<std::vec::Vec<std::vec::Vec<&[u8]>>, std::vec::Vec<std::vec::Vec<&[u8]>>>`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_transmute_annotations
warning: `hck` (lib) generated 2 warnings
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s
Might be good to fix these. Unfortunately, I'm not a programmer. Away for the weekend but, can reply from mobile.
@sstadick
clippy
isn't happy again and outputs two warnings but, let's try ...