Skip to content

Commit 8f09cb4

Browse files
authored
docs(stack): fix a comment typo (#4398)
`SpawnWatch<S>` has a sentence fragment in its documentation. this commit fixes that. Signed-off-by: katelyn martin <kate@buoyant.io>
1 parent 7ba058d commit 8f09cb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linkerd/stack/src/watch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ pub struct NewSpawnWatch<P, N> {
2020
/// A `S`-typed service which is updated dynamically by a background task.
2121
///
2222
/// Each clone of a `SpawnWatch` service that shares the same watch owns its own
23-
/// clone of the inner service. As the `watch::Receiver` is updated, the
24-
/// background task
23+
/// clone of the inner service. Changes in the [`watch::Receiver`] are checked
24+
/// for when this service is polled for readiness.
2525
#[derive(Clone, Debug)]
2626
pub struct SpawnWatch<S> {
2727
rx: watch::Receiver<S>,

0 commit comments

Comments
 (0)