From e1c8b5a159562f50c11dff2454d9aff972de3df8 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 21 Oct 2021 03:11:14 -0400 Subject: [PATCH] tests: add `#[cfg(sync)]` to watch test (#4183) --- tokio-stream/tests/watch.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tokio-stream/tests/watch.rs b/tokio-stream/tests/watch.rs index 92bcdf497..a56254ede 100644 --- a/tokio-stream/tests/watch.rs +++ b/tokio-stream/tests/watch.rs @@ -1,3 +1,5 @@ +#![cfg(feature = "sync")] + use tokio::sync::watch; use tokio_stream::wrappers::WatchStream; use tokio_stream::StreamExt;