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;
}
pub struct Map<St, F> {
stream: St,
pub struct Map<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
St: Stream,
F: FnOnce1<St::Item>,