mirror of
https://github.com/Noratrieb/ice-104649.git
synced 2026-01-14 12:35:02 +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;
|
||||
}
|
||||
|
||||
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>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue