Skip to content

Commit

Permalink
Rollup merge of #77980 - Manishearth:needs-drop-intra, r=jyn514
Browse files Browse the repository at this point in the history
Fix intra doc link for needs_drop

It currently links to itself. Oops.

r? @jyn514
  • Loading branch information
Dylan-DPC committed Oct 15, 2020
2 parents 7523b4b + 1c03f6d commit 0c1cfb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ extern "rust-intrinsic" {
/// If the actual type neither requires drop glue nor implements
/// `Copy`, then the return value of this function is unspecified.
///
/// The stabilized version of this intrinsic is [`needs_drop`].
/// The stabilized version of this intrinsic is [`mem::needs_drop`](crate::mem::needs_drop).
#[rustc_const_stable(feature = "const_needs_drop", since = "1.40.0")]
pub fn needs_drop<T>() -> bool;

Expand Down

0 comments on commit 0c1cfb3

Please sign in to comment.