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
5fecc8c3f4
commit
d7d4586a04
1 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ pub trait Stream {
|
|||
|
||||
pub fn map<T, F>(f: F) -> Map<F>
|
||||
where
|
||||
F: FnMut(String) -> T,
|
||||
F: FnMut(()) -> T,
|
||||
{
|
||||
loop {}
|
||||
}
|
||||
|
|
@ -42,7 +42,7 @@ where
|
|||
|
||||
impl<F> Stream for Map<F>
|
||||
where
|
||||
F: FnOnce1<String>,
|
||||
F: FnOnce1<()>,
|
||||
F::Output: Project,
|
||||
{
|
||||
type Item = <F::Output as Project>::Assoc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue