mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
sync: fix typo in tokio::sync:⌚:Sender
docs (#5587)
This commit is contained in:
parent
b31f1a4662
commit
d63d659078
@ -707,7 +707,7 @@ impl<T> Sender<T> {
|
||||
/// Modifies the watched value **unconditionally** in-place,
|
||||
/// notifying all receivers.
|
||||
///
|
||||
/// This can useful for modifying the watched value, without
|
||||
/// This can be useful for modifying the watched value, without
|
||||
/// having to allocate a new instance. Additionally, this
|
||||
/// method permits sending values even when there are no receivers.
|
||||
///
|
||||
@ -747,7 +747,7 @@ impl<T> Sender<T> {
|
||||
/// Modifies the watched value **conditionally** in-place,
|
||||
/// notifying all receivers only if modified.
|
||||
///
|
||||
/// This can useful for modifying the watched value, without
|
||||
/// This can be useful for modifying the watched value, without
|
||||
/// having to allocate a new instance. Additionally, this
|
||||
/// method permits sending values even when there are no receivers.
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user