We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21cab52 commit 9220b7bCopy full SHA for 9220b7b
exercises/macros/macros1.rs
@@ -3,14 +3,12 @@
3
// Execute `rustlings hint macros1` or use the `hint` watch subcommand for a
4
// hint.
5
6
-// I AM NOT DONE
7
-
8
macro_rules! my_macro {
9
() => {
10
println!("Check out my macro!");
11
};
12
}
13
14
fn main() {
15
- my_macro();
+ my_macro!();
16
exercises/macros/macros2.rs
// Execute `rustlings hint macros2` or use the `hint` watch subcommand for a
-fn main() {
- my_macro!();
-}
+
+fn main() {
+}
0 commit comments