We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f58716 commit 1c03f6dCopy full SHA for 1c03f6d
library/core/src/intrinsics.rs
@@ -1082,7 +1082,7 @@ extern "rust-intrinsic" {
1082
/// If the actual type neither requires drop glue nor implements
1083
/// `Copy`, then the return value of this function is unspecified.
1084
///
1085
- /// The stabilized version of this intrinsic is [`needs_drop`].
+ /// The stabilized version of this intrinsic is [`mem::needs_drop`](crate::mem::needs_drop).
1086
#[rustc_const_stable(feature = "const_needs_drop", since = "1.40.0")]
1087
pub fn needs_drop<T>() -> bool;
1088
0 commit comments