Skip to content

Commit ad6f3a4

Browse files
authored
Unrolled build for rust-lang#133466
Rollup merge of rust-lang#133466 - aksh1618:patch-1, r=thomcc Fix typos in pin.rs
2 parents 5bbbc09 + f5216ee commit ad6f3a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/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)