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

// I AM NOT DONE

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

fn main() {
    my_macro();
}