Skip to content

Commit f7d5687

Browse files
authored
Rollup merge of #73614 - lcnr:patch-4, r=Dylan-DPC
fix `intrinsics::needs_drop` docs
2 parents d8b4604 + 932237b commit f7d5687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ extern "rust-intrinsic" {
12911291
/// implements `Copy`.
12921292
///
12931293
/// If the actual type neither requires drop glue nor implements
1294-
/// `Copy`, then may return `true` or `false`.
1294+
/// `Copy`, then the return value of this function is unspecified.
12951295
///
12961296
/// The stabilized version of this intrinsic is
12971297
/// [`std::mem::needs_drop`](../../std/mem/fn.needs_drop.html).

0 commit comments

Comments
 (0)