Skip to content

Commit

Permalink
more dupe typos again
Browse files Browse the repository at this point in the history
  • Loading branch information
Rageking8 committed Oct 25, 2022
1 parent c6bd7e2 commit c246a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sync/mpsc/stream.rs
Expand Up @@ -114,7 +114,7 @@ impl<T> Packet<T> {
match self.queue.producer_addition().cnt.fetch_add(1, Ordering::SeqCst) {
// As described in the mod's doc comment, -1 == wakeup
-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,

// Be sure to preserve the disconnected state, and the return value
Expand Down

0 comments on commit c246a3d

Please sign in to comment.