mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-10 00:44:21 +02:00
Update bounded.md (#1919)
Shouldn't it be `recv` instead of `read`? I don't see a `read` function in Receiver.
This commit is contained in:
parent
8dbe80331b
commit
4b27e28e7f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user