diff --git a/crates/provider/src/heart.rs b/crates/provider/src/heart.rs index 421a08f2e9a..c75df935778 100644 --- a/crates/provider/src/heart.rs +++ b/crates/provider/src/heart.rs @@ -630,7 +630,7 @@ impl + Unpin + 'static> Heartbeat impl + Unpin + 'static> Heartbeat { /// Spawn the heartbeat task, returning a [`HeartbeatHandle`]. pub(crate) fn spawn(self) -> HeartbeatHandle { - let (latest, latest_rx) = watch::channel(None::); + let (latest, latest_rx) = watch::channel(None::); let (ix_tx, ixns) = mpsc::channel(16); self.into_future(latest, ixns).spawn_task();