Skip to content

Commit 3bc97bf

Browse files
committed
Add link to stable version of needs_drop intrinsic
1 parent 860e436 commit 3bc97bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libcore/intrinsics.rs

+3
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,9 @@ extern "rust-intrinsic" {
925925
///
926926
/// If the actual type neither requires drop glue nor implements
927927
/// `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).
928931
pub fn needs_drop<T>() -> bool;
929932

930933
/// Calculates the offset from a pointer.

0 commit comments

Comments
 (0)