Skip to content

Instantly share code, notes, and snippets.

@bstrie
Created August 23, 2012 20:37
Show Gist options
  • Save bstrie/3441358 to your computer and use it in GitHub Desktop.
Save bstrie/3441358 to your computer and use it in GitHub Desktop.
Rust pretty printer
fn main() {
io::println(str::concat([~"hello, ",
extfmt::rt::conv_str({flags:
extfmt::rt::flag_none,
width:
extfmt::rt::count_implied,
precision:
extfmt::rt::count_implied,
ty:
extfmt::rt::ty_default,},
~"world")]/_));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment