mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
Fix typo in pin documentation
Affect is a verb, effect is a noun
This commit is contained in:
+1
-1
@@ -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`.
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user