summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2018-12-27 08:53:43 -0700
committerGitHub <noreply@github.com>2018-12-27 08:53:43 -0700
commit1cd1ddbbaa4327074b820e129cd8606ff52f54ec (patch)
treea14a325c382b5a1ba7054917f78ebe587827708e
parentd174173552cfa031b63e8b1dabbd08943748dea1 (diff)
downloadrust-sgrif-patch-1.tar.gz
Fix typo in pin documentationsgrif-patch-1
Affect is a verb, effect is a noun
-rw-r--r--src/libcore/pin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/pin.rs b/src/libcore/pin.rs
index d8508631bf9..e31ac691e3a 100644
--- a/src/libcore/pin.rs
+++ b/src/libcore/pin.rs
@@ -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`.
//!