diff options
Diffstat (limited to 'exercises/macros/macros2.rs')
| -rw-r--r-- | exercises/macros/macros2.rs | 63 |
1 files changed, 1 insertions, 62 deletions
diff --git a/exercises/macros/macros2.rs b/exercises/macros/macros2.rs index 7fe9429..d0be123 100644 --- a/exercises/macros/macros2.rs +++ b/exercises/macros/macros2.rs @@ -1,5 +1,5 @@ // macros2.rs -// Make me compile! Scroll down for hints :) +// Make me compile! Execute `rustlings hint macros2` for hints :) // I AM NOT DONE @@ -12,64 +12,3 @@ macro_rules! my_macro { println!("Check out my macro!"); }; } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -// Macros don't quite play by the same rules as the rest of Rust, in terms of -// what's available where. - - - - - - - - -// Unlike other things in Rust, the order of "where you define a macro" versus -// "where you use it" actually matters. |
