We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pin
1 parent 0054b28 commit 86a5d5fCopy full SHA for 86a5d5f
core/src/pin.rs
@@ -595,7 +595,7 @@
595
//! [drop-impl]: self#implementing-drop-for-types-with-address-sensitive-states
596
//!
597
//! 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
+//! pinned*! Implementing [`Drop`] for a type with address-sensitive states requires some care, because if `self` was
599
//! indeed in an address-sensitive state before [`drop`] was called, it is as if the compiler
600
//! automatically called [`Pin::get_unchecked_mut`].
601
0 commit comments