Skip to content

Commit 352a163

Browse files
matthiaskrgrgitbot
authored and
gitbot
committed
Rollup merge of rust-lang#136039 - nvanbenschoten:pin-typo, r=Amanieu
docs: fix typo in std::pin overview Unimportant fix in `std::pin` documentation.
2 parents 08a8e37 + 5965328 commit 352a163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)