mirror of
https://github.com/Noratrieb/ice-104649.git
synced 2026-01-16 13:25:03 +01:00
lol no futures
This commit is contained in:
parent
5c0db2ec87
commit
c226fbd8b1
1 changed files with 2 additions and 3 deletions
|
|
@ -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>,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue