We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 932be12 commit d4c8975Copy full SHA for d4c8975
tokio/src/sync/mpsc/bounded.rs
@@ -887,7 +887,7 @@ impl<T> Sender<T> {
887
/// let permit = tx.reserve().await.unwrap();
888
/// assert_eq!(tx.capacity(), 4);
889
///
890
- /// // Sending and receiving a value increases the caapcity by one.
+ /// // Sending and receiving a value increases the capacity by one.
891
/// permit.send(());
892
/// rx.recv().await.unwrap();
893
/// assert_eq!(tx.capacity(), 5);
0 commit comments