Skip to content

Commit c83c635

Browse files
authored
Fix intrinsic size_of stable link
I noticed that it is pointing to the same link when I was reading rust-lang/rust-clippy#2997
1 parent 3e93027 commit c83c635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/intrinsics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ extern "rust-intrinsic" {
764764
/// More specifically, this is the offset in bytes between successive
765765
/// items of the same type, including alignment padding.
766766
///
767-
/// The stabilized version of this intrinsic is [`size_of`].
767+
/// The stabilized version of this intrinsic is [`crate::mem::size_of`].
768768
#[rustc_const_stable(feature = "const_size_of", since = "1.40.0")]
769769
pub fn size_of<T>() -> usize;
770770

0 commit comments

Comments
 (0)