File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 1111//! is called "pinning." We would say that a value which satisfies these guarantees has been
1212//! "pinned," in that it has been permanently (until the end of its lifespan) attached to its
1313//! location in memory, as though pinned to a pinboard. Pinning a value is an incredibly useful
14- //! building block for [unsafe] code to be able to reason about whether a raw pointer to the
14+ //! building block for [` unsafe` ] code to be able to reason about whether a raw pointer to the
1515//! pinned value is still valid. [As we'll see later][drop-guarantee], this is necessarily from the
1616//! time the value is first pinned until the end of its lifespan. This concept of "pinning" is
1717//! necessary to implement safe interfaces on top of things like self-referential types and
You can’t perform that action at this time.
0 commit comments