diff --git a/crossbeam-channel/src/channel.rs b/crossbeam-channel/src/channel.rs index 5196677a5..800fe6352 100644 --- a/crossbeam-channel/src/channel.rs +++ b/crossbeam-channel/src/channel.rs @@ -232,7 +232,7 @@ pub fn at(when: Instant) -> Receiver { /// # Examples /// /// Using a `never` channel to optionally add a timeout to [`select!`]: -/// +/// /// [`select!`]: crate::select! /// /// ``` diff --git a/crossbeam-channel/src/select.rs b/crossbeam-channel/src/select.rs index 70e89067d..57d67a3a1 100644 --- a/crossbeam-channel/src/select.rs +++ b/crossbeam-channel/src/select.rs @@ -518,7 +518,7 @@ 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