Rollup merge of #73614 - lcnr:patch-4, r=Dylan-DPC

fix `intrinsics::needs_drop` docs
This commit is contained in:
Manish Goregaokar
2020-06-23 13:10:15 -07:00
committed by GitHub
+1 -1
View File
@@ -1291,7 +1291,7 @@
/// implements `Copy`.
///
/// If the actual type neither requires drop glue nor implements
/// `Copy`, then may return `true` or `false`.
/// `Copy`, then the return value of this function is unspecified.
///
/// The stabilized version of this intrinsic is
/// [`std::mem::needs_drop`](../../std/mem/fn.needs_drop.html).