From aa8980081d839fc3a5b6a5415cc02a1ecb934c7d Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Sun, 20 Nov 2022 22:11:43 +0100 Subject: [PATCH] lol no futures --- src/main.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 1a414d5..5de2bd1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -31,7 +31,6 @@ pub struct Map(F); pub trait FnOnce1 { type Output; - fn call_once(self, arg: A) -> Self::Output; } impl FnOnce1 for T @@ -39,9 +38,6 @@ where T: FnOnce(A) -> R, { type Output = R; - fn call_once(self, arg: A) -> R { - loop {} - } } impl Stream for Map