Skip to content

Commit 1cd1ddb

Browse files
authored
Fix typo in pin documentation
Affect is a verb, effect is a noun
1 parent d174173 commit 1cd1ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/pin.rs

+1-1
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)