Created
August 19, 2017 10:25
-
-
Save anonymous/f209c44b08897fc19439950cae7aab25 to your computer and use it in GitHub Desktop.
Rust code shared from the playground
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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