haphazard
haphazard copied to clipboard
Less unsafe with array_methods
Now that array::each_mut
has stabilized (rust-lang/rust#76118), we'll be able to get rid of this unsafe block! We'll have to wait for Rust 1.77 to release this though (and maybe a bit longer if we want to preserve MSRV).