Skip to content

Commit

Permalink
Rollup merge of rust-lang#57149 - rust-lang:sgrif-patch-1, r=rkruppe
Browse files Browse the repository at this point in the history
Fix typo in pin documentation

Affect is a verb, effect is a noun
  • Loading branch information
kennytm authored Dec 29, 2018
2 parents 35a64f8 + 1cd1ddb commit 72b27a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/pin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
//!
Expand Down

0 comments on commit 72b27a7

Please sign in to comment.