rustlings/exercises/21_macros/macros1.rs

10 lines
117 B
Rust
Raw Normal View History

2017-03-17 17:30:29 +03:00
macro_rules! my_macro {
() => {
println!("Check out my macro!");
};
}
fn main() {
my_macro();
}