} => {
itertools::chain![
array::IntoIter::new([
- Ok::<$out,Void>( prefix1.into() ),
- Ok::<$out,Void>( prefix2.into() ),
+ prefix1.into(),
+ prefix2.into(),
]).take(
if upbound.is_empty() { 1 } else { 2 }
),
Itertools::intersperse(
upbound.into_iter().map(|u| { let out: $out = u.into(); out }),
SLIP_END_SLICE.into()
- ).map(Ok::<$out,Void>),
- [ Ok::<$out,Void>( suffix.into() ) ],
+ ),
+ [ suffix.into() ],
]
}}
let body = hyper::body::Body::wrap_stream(
futures::stream::iter(
- content!( Bytes )
+ content!( Bytes ).map(Ok::<Bytes,Void>)
)
);