mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 06:25:30 +00:00
Since they work on byte pointers (by `.cast::<u8>()`ing them), there is no need to know the size of `T` and so there is no need for `T: Sized`. The `is_aligned_to` is similar, though it doesn't need the _alignment_ of `T`.