Skip to content

Commit 0c2f435

Browse files
authored
Fix sentence fragment in pin module docs
Looks like this was inadvertently dropped in 8241ca6. Restore the words from before that commit.
1 parent 0b63477 commit 0c2f435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/pin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@
595595
//! [drop-impl]: self#implementing-drop-for-types-with-address-sensitive-states
596596
//!
597597
//! The [`drop`] function takes [`&mut self`], but this is called *even if that `self` has been
598-
//! pinned*! Implementing [`Drop`] for a type with address-sensitive states, because if `self` was
598+
//! pinned*! Implementing [`Drop`] for a type with address-sensitive states requires some care, because if `self` was
599599
//! indeed in an address-sensitive state before [`drop`] was called, it is as if the compiler
600600
//! automatically called [`Pin::get_unchecked_mut`].
601601
//!

0 commit comments

Comments
 (0)