We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
needs_drop
1 parent 860e436 commit 3bc97bfCopy full SHA for 3bc97bf
src/libcore/intrinsics.rs
@@ -925,6 +925,9 @@ extern "rust-intrinsic" {
925
///
926
/// If the actual type neither requires drop glue nor implements
927
/// `Copy`, then may return `true` or `false`.
928
+ ///
929
+ /// The stabilized version of this intrinsic is
930
+ /// [`std::mem::needs_drop`](../../std/mem/fn.needs_drop.html).
931
pub fn needs_drop<T>() -> bool;
932
933
/// Calculates the offset from a pointer.
0 commit comments