]> git.lizzy.rs Git - rust.git/commitdiff
Add link to stable version of `needs_drop` intrinsic
authorWesley Wiser <wwiser@gmail.com>
Mon, 23 Oct 2017 00:15:56 +0000 (20:15 -0400)
committerWesley Wiser <wwiser@gmail.com>
Mon, 23 Oct 2017 00:30:38 +0000 (20:30 -0400)
src/libcore/intrinsics.rs

index 2d6b5b832c534f04bfb71debef29ee118d731e22..ddad67273dc77e8646bb9ac90d147834c9bda30b 100644 (file)
     ///
     /// If the actual type neither requires drop glue nor implements
     /// `Copy`, then may return `true` or `false`.
+    ///
+    /// The stabilized version of this intrinsic is
+    /// [`std::mem::needs_drop`](../../std/mem/fn.needs_drop.html).
     pub fn needs_drop<T>() -> bool;
 
     /// Calculates the offset from a pointer.