Skip to content

Commit 9d4cdbb

Browse files
authored
Rollup merge of rust-lang#78664 - pickfire:patch-4, r=jonas-schievink
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
2 parents 8894c90 + c83c635 commit 9d4cdbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/intrinsics.rs

+1-1
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)