Skip to content

Commit 5872ae4

Browse files
committed
Indicate select! is code-like
1 parent b3317d6 commit 5872ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sync/mpsc/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
//! ```
115115
//!
116116
//! Reading from a channel with a timeout requires to use a Timer together
117-
//! with the channel. You can use the select! macro to select either and
117+
//! with the channel. You can use the `select!` macro to select either and
118118
//! handle the timeout case. This first example will break out of the loop
119119
//! after 10 seconds no matter what:
120120
//!

0 commit comments

Comments
 (0)