We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8894c90 + c83c635 commit 9d4cdbbCopy full SHA for 9d4cdbb
library/core/src/intrinsics.rs
@@ -764,7 +764,7 @@ extern "rust-intrinsic" {
764
/// More specifically, this is the offset in bytes between successive
765
/// items of the same type, including alignment padding.
766
///
767
- /// The stabilized version of this intrinsic is [`size_of`].
+ /// The stabilized version of this intrinsic is [`crate::mem::size_of`].
768
#[rustc_const_stable(feature = "const_size_of", since = "1.40.0")]
769
pub fn size_of<T>() -> usize;
770
0 commit comments