summaryrefslogtreecommitdiff
path: root/examples/simple.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple.rs')
-rw-r--r--examples/simple.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/simple.rs b/examples/simple.rs
new file mode 100644
index 0000000..b3e5582
--- /dev/null
+++ b/examples/simple.rs
@@ -0,0 +1,8 @@
+use utility_macros::repeat_char;
+
+fn main()
+{
+ let dashes = repeat_char!('-', 16);
+
+ println!("{dashes}\n Hello world!\n{dashes}");
+}