Add link to stable version of needs_drop intrinsic

This commit is contained in:
Wesley Wiser 2017-10-22 20:15:56 -04:00
parent 860e436d0e
commit 3bc97bfe9a

View File

@ -925,6 +925,9 @@ extern "rust-intrinsic" {
///
/// 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.