Skip to content

Commit d4c8975

Browse files
sync: fix spelling mistake in mpsc::Sender docs (#3828)
1 parent 932be12 commit d4c8975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/sync/mpsc/bounded.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ impl<T> Sender<T> {
887887
/// let permit = tx.reserve().await.unwrap();
888888
/// assert_eq!(tx.capacity(), 4);
889889
///
890-
/// // Sending and receiving a value increases the caapcity by one.
890+
/// // Sending and receiving a value increases the capacity by one.
891891
/// permit.send(());
892892
/// rx.recv().await.unwrap();
893893
/// assert_eq!(tx.capacity(), 5);

0 commit comments

Comments
 (0)