1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-14 11:22:55 +02:00
rustlings/exercises/macros/macros1.rs

15 lines
233 B
Rust
Raw Normal View History

2018-02-22 08:09:53 +02:00
// macros1.rs
2022-07-15 12:05:26 +02:00
// Execute `rustlings hint macros1` or use the `hint` watch subcommand for a hint.
2017-03-17 16:30:29 +02:00
// I AM NOT DONE
2017-03-17 16:30:29 +02:00
macro_rules! my_macro {
() => {
println!("Check out my macro!");
};
}
fn main() {
my_macro();
}