Indicate select! is code-like
This commit is contained in:
parent
b3317d6891
commit
5872ae4a7a
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@
|
|||
//! ```
|
||||
//!
|
||||
//! Reading from a channel with a timeout requires to use a Timer together
|
||||
//! with the channel. You can use the select! macro to select either and
|
||||
//! with the channel. You can use the `select!` macro to select either and
|
||||
//! handle the timeout case. This first example will break out of the loop
|
||||
//! after 10 seconds no matter what:
|
||||
//!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue