Skip to content

Commit e732ea8

Browse files
authored
Fix minor typo in 09_bounded.md (mainmatter#125)
Trim errant `s` from `enqueue`'s end in [Bounded vs unbounded channels](https://rust-exercises.com/100-exercises/07_threads/09_bounded.html): `if the producers enqueues messages` -> `if the producers enqueue messages`
1 parent 5ef0a6a commit e732ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/07_threads/09_bounded.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
So far we've been using unbounded channels.\
44
You can send as many messages as you want, and the channel will grow to accommodate them.\
55
In a multi-producer single-consumer scenario, this can be problematic: if the producers
6-
enqueues messages at a faster rate than the consumer can process them, the channel will
6+
enqueue messages at a faster rate than the consumer can process them, the channel will
77
keep growing, potentially consuming all available memory.
88

99
Our recommendation is to **never** use an unbounded channel in a production system.\

0 commit comments

Comments
 (0)