Skip to content

Commit 9f94acf

Browse files
aksh1618gitbot
authored and
gitbot
committed
Fix typos in pin.rs
1 parent eec9273 commit 9f94acf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/pin.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,9 @@
373373
//! exactly what we did with our `AddrTracker` example above. Without doing this, you *must not*
374374
//! rely on pinning-related guarantees to apply to your type!
375375
//!
376-
//! If need to truly pin a value of a foreign or built-in type that implements [`Unpin`], you'll
377-
//! need to create your own wrapper type around the [`Unpin`] type you want to pin and then
378-
//! opts-out of [`Unpin`] using [`PhantomPinned`].
376+
//! If you really need to pin a value of a foreign or built-in type that implements [`Unpin`],
377+
//! you'll need to create your own wrapper type around the [`Unpin`] type you want to pin and then
378+
//! opt-out of [`Unpin`] using [`PhantomPinned`].
379379
//!
380380
//! Exposing access to the inner field which you want to remain pinned must then be carefully
381381
//! considered as well! Remember, exposing a method that gives access to a

0 commit comments

Comments
 (0)