Rollup merge of #57149 - rust-lang:sgrif-patch-1, r=rkruppe
Fix typo in pin documentation Affect is a verb, effect is a noun
This commit is contained in:
commit
72b27a7254
|
@ -25,7 +25,7 @@
|
|||
//! values.
|
||||
//!
|
||||
//! However, these restrictions are usually not necessary. Many types are always freely
|
||||
//! movable. These types implement the [`Unpin`] auto-trait, which nullifies the affect
|
||||
//! movable. These types implement the [`Unpin`] auto-trait, which nullifies the effect
|
||||
//! of [`Pin`]. For `T: Unpin`, `Pin<Box<T>>` and `Box<T>` function identically, as do
|
||||
//! `Pin<&mut T>` and `&mut T`.
|
||||
//!
|
||||
|
|
Loading…
Reference in New Issue