Rollup merge of #123842 - ShockYoungCHN:master, r=scottmcm

fix typo in pin.rs

correct "implemts" to "implements".
This commit is contained in:
Matthias Krüger 2024-04-12 13:35:31 +02:00 committed by GitHub
commit e256d5f2ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1198,7 +1198,7 @@ impl<Ptr: Deref<Target: Unpin>> Pin<Ptr> {
/// Unwraps this `Pin<Ptr>`, returning the underlying pointer. /// Unwraps this `Pin<Ptr>`, returning the underlying pointer.
/// ///
/// Doing this operation safely requires that the data pointed at by this pinning pointer /// Doing this operation safely requires that the data pointed at by this pinning pointer
/// implemts [`Unpin`] so that we can ignore the pinning invariants when unwrapping it. /// implements [`Unpin`] so that we can ignore the pinning invariants when unwrapping it.
/// ///
/// # Examples /// # Examples
/// ///