docs: fix typo in std::pin overview
This commit is contained in:
parent
814ebca293
commit
83c09ff3bd
1 changed files with 2 additions and 2 deletions
|
@ -156,8 +156,8 @@
|
|||
//!
|
||||
//! In order to implement the second option, we must in some way enforce its key invariant,
|
||||
//! *i.e.* prevent the value from being *moved* or otherwise invalidated (you may notice this
|
||||
//! sounds an awful lot like the definition of *pinning* a value). There a few ways one might be
|
||||
//! able to enforce this invariant in Rust:
|
||||
//! sounds an awful lot like the definition of *pinning* a value). There are a few ways one might
|
||||
//! be able to enforce this invariant in Rust:
|
||||
//!
|
||||
//! 1. Offer a wholly `unsafe` API to interact with the object, thus requiring every caller to
|
||||
//! uphold the invariant themselves
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue