blob: 9b08adc0339a916d9c8a07c2c7ec5587184e4e3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// macros3.rs
// Make me compile, without taking the macro out of the module!
// Execute `rustlings hint macros3` for hints :)
mod macros {
macro_rules! my_macro {
() => {
println!("Check out my macro!");
};
}
}
fn main() {
my_macro!();
}
|