macros1.rs (150B)
1 macro_rules! my_macro { 2 () => { 3 println!("Check out my macro!"); 4 }; 5 } 6 7 fn main() { 8 // TODO: Fix the macro call. 9 my_macro(); 10 }
rustlingssolving rustlings ft. dracuxan | |
| git clone [email protected]:dracuxan/rustlings.git | |
| Log | Files | Refs |