mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
tests: add #[cfg(sync)] to watch test (#4183)
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
#![cfg(feature = "sync")]
|
||||||
|
|
||||||
use tokio::sync::watch;
|
use tokio::sync::watch;
|
||||||
use tokio_stream::wrappers::WatchStream;
|
use tokio_stream::wrappers::WatchStream;
|
||||||
use tokio_stream::StreamExt;
|
use tokio_stream::StreamExt;
|
||||||
|
|||||||
Reference in New Issue
Block a user