about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-10-16 02:10:25 +0200
committerGitHub <noreply@github.com>2020-10-16 02:10:25 +0200
commite688b4d51cc9b41b18b240f5f6358daa8179e8fa (patch)
treeb0cade8eff84561b5f9a195b67829b7af2c866c0
parentb64b5fac403b9fcf054699aa945ff7f14efb7fa5 (diff)
parent1c03f6dee571f63613432b00bbfe3d613929e672 (diff)
downloadrust-e688b4d51cc9b41b18b240f5f6358daa8179e8fa.tar.gz
rust-e688b4d51cc9b41b18b240f5f6358daa8179e8fa.zip
Rollup merge of #77980 - Manishearth:needs-drop-intra, r=jyn514
Fix intra doc link for needs_drop

It currently links to itself. Oops.

r? @jyn514
-rw-r--r--library/core/src/intrinsics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs
index b2798ea6625..2a7c105e807 100644
--- a/library/core/src/intrinsics.rs
+++ b/library/core/src/intrinsics.rs
@@ -1082,7 +1082,7 @@ extern "rust-intrinsic" {
     /// If the actual type neither requires drop glue nor implements
     /// `Copy`, then the return value of this function is unspecified.
     ///
-    /// The stabilized version of this intrinsic is [`needs_drop`].
+    /// The stabilized version of this intrinsic is [`mem::needs_drop`](crate::mem::needs_drop).
     #[rustc_const_stable(feature = "const_needs_drop", since = "1.40.0")]
     pub fn needs_drop<T>() -> bool;