Skip to content

Commit

Permalink
Update library/core/src/pin.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ralf Jung <post@ralfj.de>
  • Loading branch information
Manishearth and RalfJung committed Jan 7, 2024
1 parent b1830f1 commit df6d449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/pin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@
//!
//! Structural pinning comes with a few extra requirements:
//!
//! 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
//! structurally-pinned fields are, too. This is [`Unpin`]'s behavior by default.
//! However, as a libray author, it is your responsibility not to write something like
//! <code>impl\<T> [Unpin] for Struct\<T> {}</code> and then offer a method that provides
Expand Down

0 comments on commit df6d449

Please sign in to comment.