Skip to content

Commit 1c03f6d

Browse files
committed
Fix intra doc link for needs_drop
1 parent 7f58716 commit 1c03f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ extern "rust-intrinsic" {
10821082
/// If the actual type neither requires drop glue nor implements
10831083
/// `Copy`, then the return value of this function is unspecified.
10841084
///
1085-
/// The stabilized version of this intrinsic is [`needs_drop`].
1085+
/// The stabilized version of this intrinsic is [`mem::needs_drop`](crate::mem::needs_drop).
10861086
#[rustc_const_stable(feature = "const_needs_drop", since = "1.40.0")]
10871087
pub fn needs_drop<T>() -> bool;
10881088

0 commit comments

Comments
 (0)