We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
align_offset
#[must_use]
1 parent 5371cc4 commit c2605f6Copy full SHA for c2605f6
library/core/src/ptr/const_ptr.rs
@@ -1301,6 +1301,7 @@ impl<T: ?Sized> *const T {
1301
/// }
1302
/// # }
1303
/// ```
1304
+ #[must_use]
1305
#[stable(feature = "align_offset", since = "1.36.0")]
1306
#[rustc_const_unstable(feature = "const_align_offset", issue = "90962")]
1307
#[cfg(not(bootstrap))]
library/core/src/ptr/mut_ptr.rs
@@ -1572,6 +1572,7 @@ impl<T: ?Sized> *mut T {
1572
1573
1574
1575
1576
1577
1578
0 commit comments