Create a gist now

Instantly share code, notes, and snippets.

fn main() {
for [ 1, 2, 3 ].each |i| {
io::println(fmt!("Hello %d", i));
}
}
fn main() {
for [ 1, 2, 3 ].each |i| {
io::println(fmt$("Hello %d", i));
}
}
fn main() {
for [ 1, 2, 3 ].each |i| {
io::println(#fmt("Hello %d", i));
}
}
#select (my_channel) { ... }
select! (my_channel) { ... }
select$ (my_channel) { ... }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment