2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-01 22:16:40 +00:00
This commit is contained in:
Felipe Sere 2019-10-29 17:09:01 -05:00
parent 5aadc5e4e9
commit ed5b095c73

View file

@ -22,7 +22,7 @@ enum CycleState {
FromBuffer, FromBuffer,
} }
impl<T: Clone, S: Stream<Item = T>,> Cycle<S, T> { impl<T: Clone, S: Stream<Item = T>> Cycle<S, T> {
pub fn new(source: S) -> Cycle<S, T> { pub fn new(source: S) -> Cycle<S, T> {
Cycle { Cycle {
source, source,
@ -67,4 +67,3 @@ where
Poll::Ready(next) Poll::Ready(next)
} }
} }