mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Fix typo in pin documentation
Affect is a verb, effect is a noun
This commit is contained in:
parent
d174173552
commit
1cd1ddbbaa
@ -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
Block a user