summaryrefslogtreecommitdiff
path: root/exercises/macros/macros2.rs
blob: f6092cab44996c2ac3c7e59e0dab685360f3ccb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// macros2.rs
// Execute `rustlings hint macros2` or use the `hint` watch subcommand for a hint.

// I AM NOT DONE

fn main() {
    my_macro!();
}

macro_rules! my_macro {
    () => {
        println!("Check out my macro!");
    };
}