macros1 solution

This commit is contained in:
mo8it
2024-07-01 11:28:38 +02:00
parent a13e3cd07f
commit cf90364fd7
3 changed files with 13 additions and 4 deletions
+10 -1
View File
@@ -1 +1,10 @@
// Solutions will be available before the stable release. Thank you for testing the beta version 🥰
macro_rules! my_macro {
() => {
println!("Check out my macro!");
};
}
fn main() {
my_macro!();
// ^
}