tests: add #[cfg(sync)] to watch test (#4183)

This commit is contained in:
Colin Walters
2021-10-21 09:11:14 +02:00
committed by GitHub
parent eb7a615c96
commit e1c8b5a159
+2
View File
@@ -1,3 +1,5 @@
#![cfg(feature = "sync")]
use tokio::sync::watch;
use tokio_stream::wrappers::WatchStream;
use tokio_stream::StreamExt;