diff --git a/crates/milli/src/update/new/channel.rs b/crates/milli/src/update/new/channel.rs index f74dfb7c5..4fff31a35 100644 --- a/crates/milli/src/update/new/channel.rs +++ b/crates/milli/src/update/new/channel.rs @@ -127,7 +127,7 @@ pub struct WriterBbqueueReceiver<'a> { /// over the bbqueue channel. sent_messages_attempts: Arc, /// The number of times an attempt to send a - /// messages failed and we had to pause for a bit. + /// message failed and we had to pause for a bit. blocking_sent_messages_attempts: Arc, } @@ -710,7 +710,7 @@ where { loop { // An attempt means trying multiple times - // and succeeded to send or not. + // whether is succeeded or not. sent_messages_attempts.fetch_add(1, atomic::Ordering::Relaxed); for _ in 0..10_000 { @@ -737,7 +737,7 @@ where } // We made an attempt to send a message in the - // bbqueue channel but it didn't succeeded. + // bbqueue channel but it didn't succeed. blocking_sent_messages_attempts.fetch_add(1, atomic::Ordering::Relaxed); // We prefer to yield and allow the writing thread