mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 21:47:04 +00:00
Add link to std::mem::size_of to size_of intrinsic documentation
This commit is contained in:
parent
e8aef7cae1
commit
52deb6b454
@ -672,6 +672,10 @@ extern "rust-intrinsic" {
|
||||
///
|
||||
/// 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
|
||||
/// [`std::mem::size_of`](../../std/mem/fn.size_of.html).
|
||||
|
||||
pub fn size_of<T>() -> usize;
|
||||
|
||||
/// Moves a value to an uninitialized memory location.
|
||||
|
Loading…
Reference in New Issue
Block a user