diff options
| author | Sean Griffin <sean@seantheprogrammer.com> | 2018-12-27 08:53:43 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-27 08:53:43 -0700 |
| commit | 1cd1ddbbaa4327074b820e129cd8606ff52f54ec (patch) | |
| tree | a14a325c382b5a1ba7054917f78ebe587827708e /src/libcore | |
| parent | d174173552cfa031b63e8b1dabbd08943748dea1 (diff) | |
| download | rust-1cd1ddbbaa4327074b820e129cd8606ff52f54ec.tar.gz rust-1cd1ddbbaa4327074b820e129cd8606ff52f54ec.zip | |
Fix typo in pin documentation
Affect is a verb, effect is a noun
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/pin.rs | 2 |
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`. //! |
