]> git.lizzy.rs Git - rust.git/commit
Add `ptr::Alignment` type
authorScott McMurray <scottmcm@users.noreply.github.com>
Tue, 20 Sep 2022 21:20:21 +0000 (14:20 -0700)
committerScott McMurray <scottmcm@users.noreply.github.com>
Tue, 20 Sep 2022 21:20:21 +0000 (14:20 -0700)
commit585bcc69807b3730e3de11c5dbceccbab12e874d
tree5d12b949c0311b7c41d28a8b5e0d858a237739fa
parentc773c134c949661874d76313280e76cc3dd60975
Add `ptr::Alignment` type

Essentially no new code here, just exposing the previously-`pub(crate)` `ValidAlign` type under the name from the ACP.
library/core/src/mem/mod.rs
library/core/src/mem/valid_align.rs [deleted file]
library/core/src/ptr/alignment.rs [new file with mode: 0644]
library/core/src/ptr/mod.rs