mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
sync: fix spelling mistake in mpsc::Sender docs (#3828)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user