diff options
| author | Geoffrey Thomas <geofft@ldpreload.com> | 2024-12-28 22:21:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-28 22:21:04 -0500 |
| commit | 0c2f4359fdb8c556af298e835d3828d7c0b4e658 (patch) | |
| tree | cd63d7ac8442e8224e16b3cf6122427757611c71 | |
| parent | 0b63477350d8b5d49b86e4f4aedf066b0a5846c0 (diff) | |
| download | rust-0c2f4359fdb8c556af298e835d3828d7c0b4e658.tar.gz rust-0c2f4359fdb8c556af298e835d3828d7c0b4e658.zip | |
Fix sentence fragment in `pin` module docs
Looks like this was inadvertently dropped in 8241ca60. Restore the words from before that commit.
| -rw-r--r-- | library/core/src/pin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/pin.rs b/library/core/src/pin.rs index f18a45083ff..83730285636 100644 --- a/library/core/src/pin.rs +++ b/library/core/src/pin.rs @@ -595,7 +595,7 @@ //! [drop-impl]: self#implementing-drop-for-types-with-address-sensitive-states //! //! The [`drop`] function takes [`&mut self`], but this is called *even if that `self` has been -//! pinned*! Implementing [`Drop`] for a type with address-sensitive states, because if `self` was +//! pinned*! Implementing [`Drop`] for a type with address-sensitive states requires some care, because if `self` was //! indeed in an address-sensitive state before [`drop`] was called, it is as if the compiler //! automatically called [`Pin::get_unchecked_mut`]. //! |
