From d7d4586a0453b936cf7a6bd3bd005802535fb7df Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Sun, 20 Nov 2022 22:12:36 +0100 Subject: [PATCH] lol no futures --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3f6a078..9c3014c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,7 +22,7 @@ pub trait Stream { pub fn map(f: F) -> Map where - F: FnMut(String) -> T, + F: FnMut(()) -> T, { loop {} } @@ -42,7 +42,7 @@ where impl Stream for Map where - F: FnOnce1, + F: FnOnce1<()>, F::Output: Project, { type Item = ::Assoc;