Rollup merge of #103526 - Rageking8:more-dupe-typos-again, r=Mark-Simulacrum

More dupe typos again

There are some others in submodules, which I will file separate PRs for in their respective repos. Thanks.
This commit is contained in:
Yuki Okushi 2022-10-27 08:30:55 +09:00 committed by GitHub
commit cafb63d869
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ fn do_send(&self, t: Message<T>) -> UpgradeResult {
match self.queue.producer_addition().cnt.fetch_add(1, Ordering::SeqCst) { match self.queue.producer_addition().cnt.fetch_add(1, Ordering::SeqCst) {
// As described in the mod's doc comment, -1 == wakeup // As described in the mod's doc comment, -1 == wakeup
-1 => UpWoke(self.take_to_wake()), -1 => UpWoke(self.take_to_wake()),
// As as described before, SPSC queues must be >= -2 // As described before, SPSC queues must be >= -2
-2 => UpSuccess, -2 => UpSuccess,
// Be sure to preserve the disconnected state, and the return value // Be sure to preserve the disconnected state, and the return value