Skip to content

Commit 587c75d

Browse files
authored
Unrolled build for #154928
Rollup merge of #154928 - guiyuanju:fix-pin-doc, r=chenyukang Fix pin docs Split a long sentence to improve readability. The original sentence required multiple readings for me to understand as a non-native speaker. The revised version is clearer and more readable, and likely easier for others as well.
2 parents ad4b935 + db37383 commit 587c75d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/core/src/pin.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,9 @@
474474
//!
475475
//! In an intrusive doubly-linked list, the collection itself does not own the memory in which
476476
//! each of its elements is stored. Instead, each client is free to allocate space for elements it
477-
//! adds to the list in whichever manner it likes, including on the stack! Elements can live on a
478-
//! stack frame that lives shorter than the collection does provided the elements that live in a
479-
//! given stack frame are removed from the list before going out of scope.
477+
//! adds to the list in whichever manner it likes, including on the stack! Elements can be stored
478+
//! in a stack frame shorter-lived than the collection, provided they are removed from the list
479+
//! before that frame goes out of scope.
480480
//!
481481
//! To make such an intrusive data structure work, every element stores pointers to its predecessor
482482
//! and successor within its own data, rather than having the list structure itself managing those

0 commit comments

Comments
 (0)