mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added some reasoning.
This commit is contained in:
parent
1dfbe40731
commit
37d71cee26
@ -1,3 +1,6 @@
|
||||
/// The zerocopy crate exists and can replace this function.
|
||||
/// We should evaluate using it when we have multiple usage spots for it.
|
||||
/// For now we have this safe alternative.
|
||||
fn cast_u32x8_u8x32(a: [u32; 8]) -> [u8; 32] {
|
||||
let mut r = [0; 32];
|
||||
for i in 0..8 {
|
||||
|
Loading…
Reference in New Issue
Block a user