File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -676,6 +676,10 @@ extern "rust-intrinsic" {
676
676
pub fn min_align_of < T > ( ) -> usize ;
677
677
pub fn pref_align_of < T > ( ) -> usize ;
678
678
679
+ /// The size of the referenced value in bytes.
680
+ ///
681
+ /// The stabilized version of this intrinsic is
682
+ /// [`std::mem::size_of_val`](../../std/mem/fn.size_of_val.html).
679
683
pub fn size_of_val < T : ?Sized > ( _: & T ) -> usize ;
680
684
pub fn min_align_of_val < T : ?Sized > ( _: & T ) -> usize ;
681
685
@@ -921,6 +925,9 @@ extern "rust-intrinsic" {
921
925
///
922
926
/// If the actual type neither requires drop glue nor implements
923
927
/// `Copy`, then may return `true` or `false`.
928
+ ///
929
+ /// The stabilized version of this intrinsic is
930
+ /// [`std::mem::needs_drop`](../../std/mem/fn.needs_drop.html).
924
931
pub fn needs_drop < T > ( ) -> bool ;
925
932
926
933
/// Calculates the offset from a pointer.
You can’t perform that action at this time.
0 commit comments