Skip to content

Commit a9b77f6

Browse files
authored
Unrolled build for rust-lang#134870
Rollup merge of rust-lang#134870 - geofft:patch-1, r=jhpratt Fix sentence fragment in `pin` module docs Looks like this was inadvertently dropped in 8241ca6. Restore the words from before that commit.
2 parents 14ee63a + 0c2f435 commit a9b77f6

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)