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
5fecc8c3f4
commit
d7d4586a04
1 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ pub trait Stream {
|
||||||
|
|
||||||
pub fn map<T, F>(f: F) -> Map<F>
|
pub fn map<T, F>(f: F) -> Map<F>
|
||||||
where
|
where
|
||||||
F: FnMut(String) -> T,
|
F: FnMut(()) -> T,
|
||||||
{
|
{
|
||||||
loop {}
|
loop {}
|
||||||
}
|
}
|
||||||
|
|
@ -42,7 +42,7 @@ where
|
||||||
|
|
||||||
impl<F> Stream for Map<F>
|
impl<F> Stream for Map<F>
|
||||||
where
|
where
|
||||||
F: FnOnce1<String>,
|
F: FnOnce1<()>,
|
||||||
F::Output: Project,
|
F::Output: Project,
|
||||||
{
|
{
|
||||||
type Item = <F::Output as Project>::Assoc;
|
type Item = <F::Output as Project>::Assoc;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue