Skip to content

Commit 4a20832

Browse files
nvanbenschotengitbot
authored and
gitbot
committed
docs: fix typo in std::pin overview
1 parent 045ee02 commit 4a20832

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: core/src/pin.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@
156156
//!
157157
//! In order to implement the second option, we must in some way enforce its key invariant,
158158
//! *i.e.* prevent the value from being *moved* or otherwise invalidated (you may notice this
159-
//! sounds an awful lot like the definition of *pinning* a value). There a few ways one might be
160-
//! able to enforce this invariant in Rust:
159+
//! sounds an awful lot like the definition of *pinning* a value). There are a few ways one might
160+
//! be able to enforce this invariant in Rust:
161161
//!
162162
//! 1. Offer a wholly `unsafe` API to interact with the object, thus requiring every caller to
163163
//! uphold the invariant themselves

0 commit comments

Comments
 (0)