Skip to content

Commit 150dbca

Browse files
Rollup merge of rust-lang#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.
2 parents 978597f + c246a3d commit 150dbca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/std/src/sync/mpsc/stream.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl<T> Packet<T> {
114114
match self.queue.producer_addition().cnt.fetch_add(1, Ordering::SeqCst) {
115115
// As described in the mod's doc comment, -1 == wakeup
116116
-1 => UpWoke(self.take_to_wake()),
117-
// As as described before, SPSC queues must be >= -2
117+
// As described before, SPSC queues must be >= -2
118118
-2 => UpSuccess,
119119

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

0 commit comments

Comments
 (0)