stream: update features and doc for broadcast/watch stream (#3504)

This commit is contained in:
Alice Ryhl
2021-02-05 20:39:27 +01:00
committed by GitHub
parent fcb6d041b9
commit 0a04954d5c
7 changed files with 37 additions and 6 deletions
+10
View File
@@ -38,6 +38,16 @@ macro_rules! cfg_time {
}
}
macro_rules! cfg_sync {
($($item:item)*) => {
$(
#[cfg(feature = "sync")]
#[cfg_attr(docsrs, doc(cfg(feature = "sync")))]
$item
)*
}
}
macro_rules! ready {
($e:expr $(,)?) => {
match $e {