Skip to content

Commit

Permalink
Rollup merge of rust-lang#126138 - wbk:patch-1, r=lqd
Browse files Browse the repository at this point in the history
Fix typo in docs for std::pin
  • Loading branch information
fmease authored Jun 8, 2024
2 parents ca932c8 + 4655eca commit 67454f5
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 @@ -184,7 +184,7 @@
//! requires at least a level of pointer indirection each time a new object is added to the mix
//! (and, practically, a heap allocation).
//!
//! Although there were other reason as well, this issue of expensive composition is the key thing
//! Although there were other reasons as well, this issue of expensive composition is the key thing
//! that drove Rust towards adopting a different model. It is particularly a problem
//! when one considers, for example, the implications of composing together the [`Future`]s which
//! will eventually make up an asynchronous task (including address-sensitive `async fn` state
Expand Down

0 comments on commit 67454f5

Please sign in to comment.