summaryrefslogtreecommitdiff
path: root/rust/format.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/format.rs')
-rw-r--r--rust/format.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/format.rs b/rust/format.rs
new file mode 100644
index 0000000..f258fc4
--- /dev/null
+++ b/rust/format.rs
@@ -0,0 +1,6 @@
+fn main()
+{
+ println!("{} days", 31);
+ println!("{0}, {1},{0}{0} days", 31, "xx");
+}
+