Skip to content

Commit 607ff95

Browse files
geofftgitbot
authored and
gitbot
committed
Fix sentence fragment in pin module docs
Looks like this was inadvertently dropped in af8ab4e. Restore the words from before that commit.
1 parent c8286c2 commit 607ff95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/pin.rs

+1-1
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)