Skip to content

Commit 14662fa

Browse files
committed
docs(library/core/src/pin): fix typo "necessarily" -> "necessary"
1 parent 65fa0ab commit 14662fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/pin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
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
1414
//! building block for [`unsafe`] code to be able to reason about whether a raw pointer to the
15-
//! pinned value is still valid. [As we'll see later][drop-guarantee], this is necessarily from the
15+
//! pinned value is still valid. [As we'll see later][drop-guarantee], this is necessary 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
1818
//! intrusive data structures which cannot currently be modeled in fully safe Rust using only

0 commit comments

Comments
 (0)