Skip to content

Commit bb3ef75

Browse files
authored
Rollup merge of #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 d56e305 + c83c635 commit bb3ef75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)