about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-06-22 14:42:26 +0200
committerGitHub <noreply@github.com>2020-06-22 14:42:26 +0200
commit932237b10184f0c70d045a5a8c5c1abad9d04725 (patch)
tree9d117f4b69f243865e15faad3a9e85e8721009ee
parent1a4e2b6f9c75a0e21722c88a0e3b610d6ffc3ae3 (diff)
downloadrust-932237b10184f0c70d045a5a8c5c1abad9d04725.tar.gz
rust-932237b10184f0c70d045a5a8c5c1abad9d04725.zip
fix `intrinsics::needs_drop` docs
-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 9061145a695..e5bb18d21c4 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).