mirror of https://github.com/aya-rs/aya
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
b2924a3a26
Miri took issue about using slice::from_raw_parts without checking for alignment. Instead, we can simply convert to a [u8;16] into a [u16;8] by iterating in chunks of 2 and bitshifting (remembering that these arrays are in network-endian order). Signed-off-by: Dave Tucker <dave@dtucker.co.uk> |
2 years ago | |
---|---|---|
.. | ||
lib.rs | 2 years ago |