Skip to content

Commit 67f4fea

Browse files
committed
fix link in footnote
1 parent b3dcfc6 commit 67f4fea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/core/src/pin.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
//! [^guarantees]: Pinning on its own does not provide *all* the invariants necessary here. However,
3232
//! in order to validly pin a value in the first place, it must already satisfy the other invariants
3333
//! for it to be valid to dereference a pointer to that value while it is pinned, and using the
34-
//! [`Drop` guarantee][drop-guarantee], we can ensure that any interested parties are notified
35-
//! before the value becomes no longer pinned, i.e. when the value goes out of scope and is
36-
//! invalidated.
34+
//! [`Drop` guarantee][self#subtle-details-and-the-drop-guarantee], we can ensure that any
35+
//! interested parties are notified before the value becomes no longer pinned, i.e. when the value
36+
//! goes out of scope and is invalidated.
3737
//!
3838
//! Note that as long as you don't use [`unsafe`], it's impossible to create or misuse a pinned
3939
//! value in a way that will produce unsoundness. See the documentation of [`Pin<Ptr>`] for more

0 commit comments

Comments
 (0)