We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ae81c89 + 71f752b commit c348550Copy full SHA for c348550
src/doc/guide.md
@@ -5074,7 +5074,7 @@ The `channel()` function returns two endpoints: a `Receiver<T>` and a
5074
`Sender<T>`. You can use the `.send()` method on the `Sender<T>` end, and
5075
receive the message on the `Receiver<T>` side with the `recv()` method. This
5076
method blocks until it gets a message. There's a similar method, `.try_recv()`,
5077
-which returns an `Option<T>` and does not block.
+which returns an `Result<T, TryRecvError>` and does not block.
5078
5079
If you want to send messages to the task as well, create two channels!
5080
0 commit comments