sync: fix spelling mistake in mpsc::Sender docs (#3828)

This commit is contained in:
James Hallowell
2021-06-01 09:56:34 +02:00
committed by GitHub
parent 932be12481
commit d4c89758fc
+1 -1
View File
@@ -887,7 +887,7 @@ impl<T> Sender<T> {
/// 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);