From 468df487a1dcff437405e2f20609ca25774b9f9b Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Mon, 8 Aug 2022 23:38:46 +0900 Subject: [PATCH] Minor doc fixes --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5609b82..3185f50 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -249,13 +249,13 @@ impl Sender { /// /// # 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 /// /// ``` @@ -548,12 +548,12 @@ impl Receiver { /// /// # 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 ///