Skip to content

Commit

Permalink
fix link in footnote
Browse files Browse the repository at this point in the history
  • Loading branch information
fu5ha authored and Manishearth committed Jan 7, 2024
1 parent bebbe24 commit 82a6817
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/core/src/pin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
//! [^guarantees]: Pinning on its own does not provide *all* the invariants necessary here. However,
//! in order to validly pin a value in the first place, it must already satisfy the other invariants
//! for it to be valid to dereference a pointer to that value while it is pinned, and using the
//! [`Drop` guarantee][drop-guarantee], we can ensure that any interested parties are notified
//! before the value becomes no longer pinned, i.e. when the value goes out of scope and is
//! invalidated.
//! [`Drop` guarantee][self#subtle-details-and-the-drop-guarantee], we can ensure that any
//! interested parties are notified before the value becomes no longer pinned, i.e. when the value
//! goes out of scope and is invalidated.
//!
//! Note that as long as you don't use [`unsafe`], it's impossible to create or misuse a pinned
//! value in a way that will produce unsoundness. See the documentation of [`Pin<Ptr>`] for more
Expand Down

0 comments on commit 82a6817

Please sign in to comment.