docs(num): fix stale link to mem::Alignment

This commit is contained in:
Shun Sakai
2026-04-19 02:07:18 +09:00
parent 3142beae24
commit 8eb89a8b06
+1 -1
View File
@@ -122,7 +122,7 @@ pub enum IntErrorKind {
/// This variant will be emitted when converting an integer that is not a power of
/// two. This is required in some cases such as constructing an [`Alignment`].
///
/// [`Alignment`]: core::ptr::Alignment "ptr::Alignment"
/// [`Alignment`]: core::mem::Alignment "mem::Alignment"
#[unstable(feature = "try_from_int_error_kind", issue = "153978")]
// Also, #[unstable(feature = "ptr_alignment_type", issue = "102070")]
NotAPowerOfTwo,