Skip to content

Instantly share code, notes, and snippets.

@bstrie
Created January 8, 2013 01:51
Show Gist options
  • Save bstrie/4480389 to your computer and use it in GitHub Desktop.
Save bstrie/4480389 to your computer and use it in GitHub Desktop.
fn main() {
macro_rules! run(
($input:expr) => (
let child = chan.clone();
do spawn { child.send($input); }
);
);
run!(doubler(10));
}
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