Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix copy-pasted links...
Browse files Browse the repository at this point in the history
ryoqun committed Nov 30, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 0c742c9 commit 36248d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crossbeam-channel/src/channel.rs
Original file line number Diff line number Diff line change
@@ -424,7 +424,7 @@ impl<T> Sender<T> {
///
/// If called on a zero-capacity channel, this method will send the message only if there
/// happens to be a receive operation on the other side of the channel at the same time. This
/// means this is equivalent to the [send](Sender::send) operation.
/// means this is equivalent to the [try_send](Sender::try_send) operation.
pub fn try_send_unnotified(&self, msg: T) -> Result<(), TrySendError<T>> {
match &self.flavor {
SenderFlavor::Array(chan) => chan.try_send(msg, false),
@@ -579,7 +579,7 @@ impl<T> Sender<T> {
///
/// If called on a zero-capacity channel, this method will wait for a receive operation to
/// appear on the other side of the channel. This means this is equivalent to the
/// [send](Sender::send) operation.
/// [send_timeout](Sender::send_timeout) operation.
pub fn send_timeout_unnotified(
&self,
msg: T,
@@ -649,7 +649,7 @@ impl<T> Sender<T> {
///
/// If called on a zero-capacity channel, this method will wait for a receive operation to
/// appear on the other side of the channel. This means this is equivalent to the
/// [send](Sender::send) operation.
/// [send_deadline](Sender::send_deadline) operation.
pub fn send_deadline_unnotified(
&self,
msg: T,

0 comments on commit 36248d1

Please sign in to comment.