Skip to content

Commit

Permalink
Fix links to macro rules in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
alygin committed May 19, 2022
1 parent 6f52bea commit a5e6b12
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions crossbeam-channel/src/channel.rs
Expand Up @@ -232,6 +232,8 @@ pub fn at(when: Instant) -> Receiver<Instant> {
/// # Examples
///
/// Using a `never` channel to optionally add a timeout to [`select!`]:
///
/// [`select!`]: crate::select!
///
/// ```
/// use std::thread;
Expand Down
2 changes: 2 additions & 0 deletions crossbeam-channel/src/select.rs
Expand Up @@ -518,6 +518,8 @@ pub(crate) fn select_deadline<'a>(
///
/// The [`select!`] macro is a convenience wrapper around `Select`. However, it cannot select over a
/// dynamically created list of channel operations.
///
/// [`select!`]: crate::select!
///
/// Once a list of operations has been built with `Select`, there are two different ways of
/// proceeding:
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-channel/src/select_macro.rs
Expand Up @@ -993,7 +993,7 @@ macro_rules! crossbeam_channel_internal {
/// An operation is considered to be ready if it doesn't have to block. Note that it is ready even
/// when it will simply return an error because the channel is disconnected.
///
/// The `select` macro is a convenience wrapper around [`Select`]. However, it cannot select over a
/// The `select!` macro is a convenience wrapper around [`Select`]. However, it cannot select over a
/// dynamically created list of channel operations.
///
/// [`Select`]: super::Select
Expand Down

0 comments on commit a5e6b12

Please sign in to comment.