We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dc53ff commit 16ce6c0Copy full SHA for 16ce6c0
library/core/src/pin.rs
@@ -790,7 +790,7 @@
790
//!
791
//! Structural pinning comes with a few extra requirements:
792
793
-//! 1. *Structural [`Unpin`].* A struct can be [`Unpin`] if, and only if, all of its
+//! 1. *Structural [`Unpin`].* A struct can be [`Unpin`] only if all of its
794
//! structurally-pinned fields are, too. This is [`Unpin`]'s behavior by default.
795
//! However, as a libray author, it is your responsibility not to write something like
796
//! <code>impl\<T> [Unpin] for Struct\<T> {}</code> and then offer a method that provides
0 commit comments