summaryrefslogtreecommitdiff
path: root/rust/format.rs
blob: f258fc4ba2be5c7cfb3e4ee71f31baae636f6117 (plain)
1
2
3
4
5
6
fn main()
{
  println!("{} days", 31);
  println!("{0}, {1},{0}{0} days", 31, "xx");
}