Skip to content

Commit e688b4d

Browse files
authored
Rollup merge of #77980 - Manishearth:needs-drop-intra, r=jyn514
Fix intra doc link for needs_drop It currently links to itself. Oops. r? @jyn514
2 parents b64b5fa + 1c03f6d commit e688b4d

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)