mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
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 https://github.com/rust-lang/rust-clippy/issues/2997
This commit is contained in:
@@ -764,7 +764,7 @@
|
||||
/// More specifically, this is the offset in bytes between successive
|
||||
/// items of the same type, including alignment padding.
|
||||
///
|
||||
/// The stabilized version of this intrinsic is [`size_of`].
|
||||
/// The stabilized version of this intrinsic is [`crate::mem::size_of`].
|
||||
#[rustc_const_stable(feature = "const_size_of", since = "1.40.0")]
|
||||
pub fn size_of<T>() -> usize;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user