lol no futures

This commit is contained in:
nora 2022-11-20 22:11:43 +01:00
parent 474af112f1
commit aa8980081d
No known key found for this signature in database

View file

@ -31,7 +31,6 @@ pub struct Map<F>(F);
pub trait FnOnce1<A> { pub trait FnOnce1<A> {
type Output; type Output;
fn call_once(self, arg: A) -> Self::Output;
} }
impl<T, A, R> FnOnce1<A> for T impl<T, A, R> FnOnce1<A> for T
@ -39,9 +38,6 @@ where
T: FnOnce(A) -> R, T: FnOnce(A) -> R,
{ {
type Output = R; type Output = R;
fn call_once(self, arg: A) -> R {
loop {}
}
} }
impl<F> Stream for Map<F> impl<F> Stream for Map<F>