File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
library/std/src/sync/mpmc Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -547,9 +547,9 @@ impl<T> Channel<T> {
547547 }
548548
549549 let mut head = self . head . index . load ( Ordering :: Acquire ) ;
550- // the channel may be uninitialized, so we have to swap to avoid overwriting any sender's attempts
551- // to initalize the first block before noticing that the receivers disconnected. late allocations
552- // will be deallocated by the sender in Drop
550+ // The channel may be uninitialized, so we have to swap to avoid overwriting any sender's attempts
551+ // to initalize the first block before noticing that the receivers disconnected. Late allocations
552+ // will be deallocated by the sender in Drop.
553553 let mut block = self . head . block . swap ( ptr:: null_mut ( ) , Ordering :: AcqRel ) ;
554554
555555 // If we're going to be dropping messages we need to synchronize with initialization
You can’t perform that action at this time.
0 commit comments