Skip to content

Commit 16ce6c0

Browse files
Update library/core/src/pin.rs
Co-authored-by: Ralf Jung <[email protected]>
1 parent 9dc53ff commit 16ce6c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/pin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@
790790
//!
791791
//! Structural pinning comes with a few extra requirements:
792792
//!
793-
//! 1. *Structural [`Unpin`].* A struct can be [`Unpin`] if, and only if, all of its
793+
//! 1. *Structural [`Unpin`].* A struct can be [`Unpin`] only if all of its
794794
//! structurally-pinned fields are, too. This is [`Unpin`]'s behavior by default.
795795
//! However, as a libray author, it is your responsibility not to write something like
796796
//! <code>impl\<T> [Unpin] for Struct\<T> {}</code> and then offer a method that provides

0 commit comments

Comments
 (0)