Skip to content

Commit

Permalink
Minor doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Aug 8, 2022
1 parent aa25b95 commit 468df48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,13 @@ impl<T> Sender<T> {
///
/// # Blocking
///
/// Rather than using asynchronous waiting, like the [`send`] method,
/// Rather than using asynchronous waiting, like the [`send`](Self::send) method,
/// this method will block the current thread until the message is sent.
///
/// This method should not be used in an asynchronous context. It is intended
/// to be used such that a channel can be used in both asynchronous and synchronous contexts.
/// Calling this method in an asynchronous context may result in deadlocks.
///
///
/// # Examples
///
/// ```
Expand Down Expand Up @@ -548,12 +548,12 @@ impl<T> Receiver<T> {
///
/// # Blocking
///
/// Rather than using asynchronous waiting, like the [`recv`] method,
/// Rather than using asynchronous waiting, like the [`recv`](Self::recv) method,
/// this method will block the current thread until the message is sent.
///
/// This method should not be used in an asynchronous context. It is intended
/// to be used such that a channel can be used in both asynchronous and synchronous contexts.
/// Calling this method in an `async` block may result in deadlocks.
/// Calling this method in an asynchronous context may result in deadlocks.
///
/// # Examples
///
Expand Down

0 comments on commit 468df48

Please sign in to comment.