From d4c89758fc8e6869ba82ddaa17268624499a5a2d Mon Sep 17 00:00:00 2001 From: James Hallowell <5460955+JamesHallowell@users.noreply.github.com> Date: Tue, 1 Jun 2021 08:56:34 +0100 Subject: [PATCH] sync: fix spelling mistake in mpsc::Sender docs (#3828) --- tokio/src/sync/mpsc/bounded.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/sync/mpsc/bounded.rs b/tokio/src/sync/mpsc/bounded.rs index ce857d741..74e6b745f 100644 --- a/tokio/src/sync/mpsc/bounded.rs +++ b/tokio/src/sync/mpsc/bounded.rs @@ -887,7 +887,7 @@ impl Sender { /// let permit = tx.reserve().await.unwrap(); /// assert_eq!(tx.capacity(), 4); /// - /// // Sending and receiving a value increases the caapcity by one. + /// // Sending and receiving a value increases the capacity by one. /// permit.send(()); /// rx.recv().await.unwrap(); /// assert_eq!(tx.capacity(), 5);