fix intrinsics::needs_drop docs

This commit is contained in:
Bastian Kauschke 2020-06-22 14:42:26 +02:00 committed by GitHub
parent 1a4e2b6f9c
commit 932237b101
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1291,7 +1291,7 @@ extern "rust-intrinsic" {
/// 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).