diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-11-10 14:45:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-10 14:45:34 +0100 |
| commit | 42fae6bb6517d75d3b2c2fb9b1fa8d312fdcfdbf (patch) | |
| tree | 2fa8d582d3534ff877ff6428774ce40f49050ee7 /library | |
| parent | a5f549eeb57da430ed48eac4d50256e8579af898 (diff) | |
| parent | f1739575ef2890e7a746092184117d9ad2ebd834 (diff) | |
| download | rust-42fae6bb6517d75d3b2c2fb9b1fa8d312fdcfdbf.tar.gz rust-42fae6bb6517d75d3b2c2fb9b1fa8d312fdcfdbf.zip | |
Rollup merge of #78910 - tmiasko:intrinsics-link, r=jyn514
Fix links to stabilized versions of some intrinsics
Diffstat (limited to 'library')
| -rw-r--r-- | library/core/src/intrinsics.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs index 0e3129607a6..433f0129306 100644 --- a/library/core/src/intrinsics.rs +++ b/library/core/src/intrinsics.rs @@ -788,7 +788,7 @@ extern "rust-intrinsic" { /// The size of the referenced value in bytes. /// - /// The stabilized version of this intrinsic is [`size_of_val`]. + /// The stabilized version of this intrinsic is [`mem::size_of_val`]. #[rustc_const_unstable(feature = "const_size_of_val", issue = "46571")] pub fn size_of_val<T: ?Sized>(_: *const T) -> usize; /// The required alignment of the referenced value. @@ -1704,7 +1704,7 @@ extern "rust-intrinsic" { /// Returns the number of variants of the type `T` cast to a `usize`; /// if `T` has no variants, returns 0. Uninhabited variants will be counted. /// - /// The to-be-stabilized version of this intrinsic is [`variant_count`]. + /// The to-be-stabilized version of this intrinsic is [`mem::variant_count`]. #[rustc_const_unstable(feature = "variant_count", issue = "73662")] pub fn variant_count<T>() -> usize; |
