mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-23 00:00:10 +02:00
sync: fix typo in tokio::sync::watch::Sender docs (#5587)
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user