We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
align_offset
#[must_use]
1 parent 2ef9a8a commit 24e8806Copy full SHA for 24e8806
library/core/src/ptr/const_ptr.rs
@@ -1320,6 +1320,7 @@ impl<T: ?Sized> *const T {
1320
/// }
1321
/// # }
1322
/// ```
1323
+ #[must_use]
1324
#[stable(feature = "align_offset", since = "1.36.0")]
1325
#[rustc_const_unstable(feature = "const_align_offset", issue = "90962")]
1326
#[cfg(not(bootstrap))]
library/core/src/ptr/mut_ptr.rs
@@ -1588,6 +1588,7 @@ impl<T: ?Sized> *mut T {
1588
1589
1590
1591
1592
1593
1594
0 commit comments