File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -788,7 +788,7 @@ extern "rust-intrinsic" {
788788
789789 /// The size of the referenced value in bytes.
790790 ///
791- /// The stabilized version of this intrinsic is [`size_of_val`].
791+ /// The stabilized version of this intrinsic is [`mem:: size_of_val`].
792792 #[ rustc_const_unstable( feature = "const_size_of_val" , issue = "46571" ) ]
793793 pub fn size_of_val < T : ?Sized > ( _: * const T ) -> usize ;
794794 /// The required alignment of the referenced value.
@@ -1704,7 +1704,7 @@ extern "rust-intrinsic" {
17041704 /// Returns the number of variants of the type `T` cast to a `usize`;
17051705 /// if `T` has no variants, returns 0. Uninhabited variants will be counted.
17061706 ///
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`].
17081708 #[ rustc_const_unstable( feature = "variant_count" , issue = "73662" ) ]
17091709 pub fn variant_count < T > ( ) -> usize ;
17101710
You can’t perform that action at this time.
0 commit comments