1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-06 00:44:23 +02:00

Corrected spelling in bounded.md (#844)

Corrected spellling  bounded.md
This commit is contained in:
vanyabrucker 2023-06-21 09:12:59 +02:00 committed by GitHub
parent fa58fc8144
commit 1ed40f4746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ fn main() {
<details>
* Calling `send` will block the currnet thread until there is space in the channel for the new message. The thread can be blocked indefinitely if there is nobody who reads from the channel.
* Calling `send` will block the current thread until there is space in the channel for the new message. The thread can be blocked indefinitely if there is nobody who reads from the channel.
* 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`.