Skip to content

Commit

Permalink
Update bounded.md (google#1919)
Browse files Browse the repository at this point in the history
Shouldn't it be `recv` instead of `read`? I don't see a `read` function
in Receiver.
  • Loading branch information
kochinc authored Mar 12, 2024
1 parent 8dbe803 commit 4b27e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/concurrency/channels/bounded.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ fn main() {
- A call to `send` will abort with an error (that is why it returns `Result`) if
the channel is closed. A channel is closed when the receiver is dropped.
- A bounded channel with a size of zero is called a "rendezvous channel". Every
send will block the current thread until another thread calls `read`.
send will block the current thread until another thread calls `recv`.

</details>

0 comments on commit 4b27e28

Please sign in to comment.