From 1cd1ddbbaa4327074b820e129cd8606ff52f54ec Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Thu, 27 Dec 2018 08:53:43 -0700 Subject: [PATCH] Fix typo in pin documentation Affect is a verb, effect is a noun --- src/libcore/pin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/pin.rs b/src/libcore/pin.rs index d8508631bf9c3..e31ac691e3a3c 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>` and `Box` function identically, as do //! `Pin<&mut T>` and `&mut T`. //!