summaryrefslogtreecommitdiff
path: root/src/wrappers/watch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrappers/watch.rs')
-rw-r--r--src/wrappers/watch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrappers/watch.rs b/src/wrappers/watch.rs
index bd3a18a..c682c9c 100644
--- a/src/wrappers/watch.rs
+++ b/src/wrappers/watch.rs
@@ -49,7 +49,7 @@ use tokio::sync::watch::error::RecvError;
/// [`Stream`]: trait@crate::Stream
#[cfg_attr(docsrs, doc(cfg(feature = "sync")))]
pub struct WatchStream<T> {
- inner: ReusableBoxFuture<(Result<(), RecvError>, Receiver<T>)>,
+ inner: ReusableBoxFuture<'static, (Result<(), RecvError>, Receiver<T>)>,
}
async fn make_future<T: Clone + Send + Sync>(