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
This commit is contained in:
Dylan DPC 2020-10-16 02:10:25 +02:00 committed by GitHub
commit e688b4d51c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1082,7 +1082,7 @@
/// 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;