Skip to content

Commit

Permalink
docs: fix typo in std::pin overview
Browse files Browse the repository at this point in the history
  • Loading branch information
nvanbenschoten authored and gitbot committed Feb 20, 2025
1 parent d800b15 commit 4ff2571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/pin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ff2571

Please sign in to comment.