Skip to content

Commit

Permalink
Fix sentence fragment in pin module docs
Browse files Browse the repository at this point in the history
Looks like this was inadvertently dropped in af8ab4e7. Restore the words from before that commit.
  • Loading branch information
geofft authored and gitbot committed Feb 20, 2025
1 parent 0870f27 commit b48a519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/pin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`].
//!
Expand Down

0 comments on commit b48a519

Please sign in to comment.