about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-06-23 13:10:15 -0700
committerGitHub <noreply@github.com>2020-06-23 13:10:15 -0700
commitf7d5687eba4784046004916f178e60b4c0c06fbf (patch)
treecfc03ee1fac5c5618395327b838ad49ee637229e /src
parentd8b4604f41bae94ec7cf711a7bb6230be8a8b9ba (diff)
parent932237b10184f0c70d045a5a8c5c1abad9d04725 (diff)
downloadrust-f7d5687eba4784046004916f178e60b4c0c06fbf.tar.gz
rust-f7d5687eba4784046004916f178e60b4c0c06fbf.zip
Rollup merge of #73614 - lcnr:patch-4, r=Dylan-DPC
fix `intrinsics::needs_drop` docs
Diffstat (limited to 'src')
-rw-r--r--src/libcore/intrinsics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/intrinsics.rs b/src/libcore/intrinsics.rs
index 50e321f9c71..2298958b881 100644
--- a/src/libcore/intrinsics.rs
+++ b/src/libcore/intrinsics.rs
@@ -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).