diff options
| author | Aria Beingessner <a.beingessner@gmail.com> | 2024-03-03 14:44:15 -0500 | 
|---|---|---|
| committer | Aria Beingessner <a.beingessner@gmail.com> | 2024-03-29 19:59:46 -0400 | 
| commit | ea92faec491084849f9c2fb258a0e3161bb29ae4 (patch) | |
| tree | 6733f6bddf223df0e8e865bc2da584338aa3eb8a /library/std/src/lib.rs | |
| parent | faae5f1ffe7b7b97e91eee6184807ac7307aafaa (diff) | |
| download | rust-ea92faec491084849f9c2fb258a0e3161bb29ae4.tar.gz rust-ea92faec491084849f9c2fb258a0e3161bb29ae4.zip | |
stabilize ptr.is_aligned, move ptr.is_aligned_to to a new feature gate
This is an alternative to #121920
Diffstat (limited to 'library/std/src/lib.rs')
| -rw-r--r-- | library/std/src/lib.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index 3781ae15c3a..31a8711e0eb 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -341,7 +341,7 @@ #![feature(panic_can_unwind)] #![feature(panic_info_message)] #![feature(panic_internals)] -#![feature(pointer_is_aligned)] +#![feature(pointer_is_aligned_to)] #![feature(portable_simd)] #![feature(prelude_2024)] #![feature(ptr_as_uninit)] | 
