lol no futures

This commit is contained in:
nora 2022-11-20 22:12:36 +01:00
parent 5fecc8c3f4
commit d7d4586a04
No known key found for this signature in database

View file

@ -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;