bugbite 0.0.15

library for bug, issue, and ticket mangling
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Test encoding a request and collecting the stream of resulting items.
#[macro_export]
macro_rules! stream {
    ($req:expr) => {
        let items = futures_util::TryStreamExt::try_collect::<Vec<_>>($req.stream())
            .await
            .unwrap();
        assert!(items.is_empty());
    };
}
pub(crate) use stream;