mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
Rollup merge of #73614 - lcnr:patch-4, r=Dylan-DPC
fix `intrinsics::needs_drop` docs
This commit is contained in:
@@ -1291,7 +1291,7 @@
|
||||
/// 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).
|
||||
|
||||
Reference in New Issue
Block a user