File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -572,8 +572,8 @@ impl<P: Deref> Pin<P> {
572572 /// // though we have previously pinned it! We have violated the pinning API contract.
573573 /// }
574574 /// ```
575- /// A value, once pinned, must remain pinned until it is dropped (unless its type implements
576- /// `Unpin`). Beacuse `Pin<&mut T>` does not own the value, dropping the `Pin` will not drop
575+ /// A value, once pinned, must remain pinned until it is dropped (unless its type implements
576+ /// `Unpin`). Because `Pin<&mut T>` does not own the value, dropping the `Pin` will not drop
577577 /// the value and will not end the pinning contract. So moving the value after dropping the
578578 /// `Pin<&mut T>` is still a violation of the API contract.
579579 ///
You can’t perform that action at this time.
0 commit comments