Skip to content

Instantly share code, notes, and snippets.

Created August 19, 2017 10:25
Show Gist options
  • Save anonymous/f209c44b08897fc19439950cae7aab25 to your computer and use it in GitHub Desktop.
Save anonymous/f209c44b08897fc19439950cae7aab25 to your computer and use it in GitHub Desktop.
Rust code shared from the playground
impl<
'four>For for
& 'four for<
'fore>For where
for<'fore>For:For
{fn four( self:&&
'four for <'fore>
For){ print!(
"four" )}} fn
main(){ four(&(
four as for<'four>fn(&'four for<'fore>
For)))}trait For{fn four(&self){}}fn
four(four:&for<'four>For){<&for<'four>
For as For>::four(&{((&four).four(),four
.four());
four})}
impl For
for for<
'four>fn
(&'four
for<'fore
>For){fn
four(&self
){print!(
"for")}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment