Skip to content

Commit

Permalink
Fix typos in pin.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
aksh1618 authored and gitbot committed Feb 20, 2025
1 parent fa5ddf8 commit 754725a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/pin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,9 +373,9 @@
//! exactly what we did with our `AddrTracker` example above. Without doing this, you *must not*
//! rely on pinning-related guarantees to apply to your type!
//!
//! If need to truly pin a value of a foreign or built-in type that implements [`Unpin`], you'll
//! need to create your own wrapper type around the [`Unpin`] type you want to pin and then
//! opts-out of [`Unpin`] using [`PhantomPinned`].
//! If you really need to pin a value of a foreign or built-in type that implements [`Unpin`],
//! you'll need to create your own wrapper type around the [`Unpin`] type you want to pin and then
//! opt-out of [`Unpin`] using [`PhantomPinned`].
//!
//! Exposing access to the inner field which you want to remain pinned must then be carefully
//! considered as well! Remember, exposing a method that gives access to a
Expand Down

0 comments on commit 754725a

Please sign in to comment.