Skip to content

Commit

Permalink
link
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Jan 7, 2024
1 parent df6d449 commit 7fd841c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/pin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//! is called "pinning." We would say that a value which satisfies these guarantees has been
//! "pinned," in that it has been permanently (until the end of its lifespan) attached to its
//! location in memory, as though pinned to a pinboard. Pinning a value is an incredibly useful
//! building block for [unsafe] code to be able to reason about whether a raw pointer to the
//! building block for [`unsafe`] code to be able to reason about whether a raw pointer to the
//! pinned value is still valid. [As we'll see later][drop-guarantee], this is necessarily from the
//! time the value is first pinned until the end of its lifespan. This concept of "pinning" is
//! necessary to implement safe interfaces on top of things like self-referential types and
Expand Down

0 comments on commit 7fd841c

Please sign in to comment.