diff options
| author | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-06-22 14:42:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-22 14:42:26 +0200 |
| commit | 932237b10184f0c70d045a5a8c5c1abad9d04725 (patch) | |
| tree | 9d117f4b69f243865e15faad3a9e85e8721009ee | |
| parent | 1a4e2b6f9c75a0e21722c88a0e3b610d6ffc3ae3 (diff) | |
| download | rust-932237b10184f0c70d045a5a8c5c1abad9d04725.tar.gz rust-932237b10184f0c70d045a5a8c5c1abad9d04725.zip | |
fix `intrinsics::needs_drop` docs
| -rw-r--r-- | src/libcore/intrinsics.rs | 2 |
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). |
