diff options
author | HampusM <hampus@hampusmat.com> | 2022-11-12 15:01:19 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-11-12 15:01:19 +0100 |
commit | d82f5da5aef06a0989430c5ea9cc60a483f1fbff (patch) | |
tree | 4f70ab3e1e1b7af5095a5ec24e025e99d0207d5b /examples/simple.rs | |
parent | c584b7177060dd32e77872ad161fb1ed181e4d4a (diff) |
Diffstat (limited to 'examples/simple.rs')
-rw-r--r-- | examples/simple.rs | 8 |
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}"); +} |