Skip to content

Commit

Permalink
Unrolled build for rust-lang#134870
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rust-timer authored Dec 30, 2024
2 parents 14ee63a + 0c2f435 commit a9b77f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/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 a9b77f6

Please sign in to comment.