lol no futures

This commit is contained in:
nora 2022-11-20 22:05:06 +01:00
parent 5c0db2ec87
commit c226fbd8b1
No known key found for this signature in database

View file

@ -49,8 +49,7 @@ mod fut {
type Item = String; type Item = String;
} }
pub struct Map<St, F> { pub struct Map<F> {
stream: St,
f: F, f: F,
} }
@ -69,7 +68,7 @@ mod fut {
} }
} }
impl<St, F> Stream for Map<St, F> impl<St, F> Stream for Map<F>
where where
St: Stream, St: Stream,
F: FnOnce1<St::Item>, F: FnOnce1<St::Item>,