Created
January 8, 2013 01:51
-
-
Save bstrie/4480389 to your computer and use it in GitHub Desktop.
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
fn main() { | |
macro_rules! run( | |
($input:expr) => ( | |
let child = chan.clone(); | |
do spawn { child.send($input); } | |
); | |
); | |
run!(doubler(10)); | |
} |
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
fn main() { | |
let ; | |
let child = chan.clone(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment