diff options
| author | Ralf Jung <post@ralfj.de> | 2024-08-17 14:19:34 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-09-15 09:51:32 +0200 |
| commit | 3175cc2814dfa8a5201fdb165d67cc44300a77f4 (patch) | |
| tree | 75fa73cd15e7a002db825abb3dbfeb8f6690df87 /library/core/src/ptr | |
| parent | 4f1be92153167dfc2a54215bfd49f398c04ce647 (diff) | |
| download | rust-3175cc2814dfa8a5201fdb165d67cc44300a77f4.tar.gz rust-3175cc2814dfa8a5201fdb165d67cc44300a77f4.zip | |
stabilize const_mut_refs
Diffstat (limited to 'library/core/src/ptr')
| -rw-r--r-- | library/core/src/ptr/mut_ptr.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/ptr/mut_ptr.rs b/library/core/src/ptr/mut_ptr.rs index ddb9195d2e7..5fa3b9bf61f 100644 --- a/library/core/src/ptr/mut_ptr.rs +++ b/library/core/src/ptr/mut_ptr.rs @@ -1569,7 +1569,7 @@ impl<T: ?Sized> *mut T { /// /// ``` /// #![feature(const_pointer_is_aligned)] - /// #![feature(const_mut_refs)] + /// # #![cfg_attr(bootstrap, feature(const_mut_refs))] /// /// // On some platforms, the alignment of primitives is less than their size. /// #[repr(align(4))] @@ -1695,7 +1695,7 @@ impl<T: ?Sized> *mut T { /// ``` /// #![feature(pointer_is_aligned_to)] /// #![feature(const_pointer_is_aligned)] - /// #![feature(const_mut_refs)] + /// # #![cfg_attr(bootstrap, feature(const_mut_refs))] /// /// // On some platforms, the alignment of i32 is less than 4. /// #[repr(align(4))] |
