Skip to content

Commit 72b27a7

Browse files
authored
Rollup merge of rust-lang#57149 - rust-lang:sgrif-patch-1, r=rkruppe
Fix typo in pin documentation Affect is a verb, effect is a noun
2 parents 35a64f8 + 1cd1ddb commit 72b27a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/pin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
//! values.
2626
//!
2727
//! However, these restrictions are usually not necessary. Many types are always freely
28-
//! movable. These types implement the [`Unpin`] auto-trait, which nullifies the affect
28+
//! movable. These types implement the [`Unpin`] auto-trait, which nullifies the effect
2929
//! of [`Pin`]. For `T: Unpin`, `Pin<Box<T>>` and `Box<T>` function identically, as do
3030
//! `Pin<&mut T>` and `&mut T`.
3131
//!

0 commit comments

Comments
 (0)