mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
9f778b4341
Stop having two different alignment constants Now that there's a `<T as SizedTypeProperties>::ALIGNMENT` constant, `Alignment::of` can use that instead of an inline constant, like how `Layout::new` uses the constant from `SizedTypeProperties`.