File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -788,7 +788,7 @@ extern "rust-intrinsic" {
788
788
789
789
/// The size of the referenced value in bytes.
790
790
///
791
- /// The stabilized version of this intrinsic is [`size_of_val`].
791
+ /// The stabilized version of this intrinsic is [`mem:: size_of_val`].
792
792
#[ rustc_const_unstable( feature = "const_size_of_val" , issue = "46571" ) ]
793
793
pub fn size_of_val < T : ?Sized > ( _: * const T ) -> usize ;
794
794
/// The required alignment of the referenced value.
@@ -1704,7 +1704,7 @@ extern "rust-intrinsic" {
1704
1704
/// Returns the number of variants of the type `T` cast to a `usize`;
1705
1705
/// if `T` has no variants, returns 0. Uninhabited variants will be counted.
1706
1706
///
1707
- /// The to-be-stabilized version of this intrinsic is [`variant_count`].
1707
+ /// The to-be-stabilized version of this intrinsic is [`mem:: variant_count`].
1708
1708
#[ rustc_const_unstable( feature = "variant_count" , issue = "73662" ) ]
1709
1709
pub fn variant_count < T > ( ) -> usize ;
1710
1710
You can’t perform that action at this time.
0 commit comments