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
474af112f1
commit
aa8980081d
1 changed files with 0 additions and 4 deletions
|
|
@ -31,7 +31,6 @@ pub struct Map<F>(F);
|
|||
|
||||
pub trait FnOnce1<A> {
|
||||
type Output;
|
||||
fn call_once(self, arg: A) -> Self::Output;
|
||||
}
|
||||
|
||||
impl<T, A, R> FnOnce1<A> for T
|
||||
|
|
@ -39,9 +38,6 @@ where
|
|||
T: FnOnce(A) -> R,
|
||||
{
|
||||
type Output = R;
|
||||
fn call_once(self, arg: A) -> R {
|
||||
loop {}
|
||||
}
|
||||
}
|
||||
|
||||
impl<F> Stream for Map<F>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue