From d82f5da5aef06a0989430c5ea9cc60a483f1fbff Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 12 Nov 2022 15:01:19 +0100 Subject: feat: add project & repeat_char macro --- examples/simple.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 examples/simple.rs (limited to 'examples') 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}"); +} -- cgit v1.2.3-18-g5258