1 #![crate_name = "qwop"] 2 3 /// (written on a spider's web) Some Macro 4 #[macro_export] 5 macro_rules! some_macro { 6 () => { 7 println!("this is some macro, for sure"); 8 }; 9 } 10 11 /// Some other macro, to fill space. 12 #[macro_export] 13 macro_rules! other_macro { 14 () => { 15 println!("this is some other macro, whatev"); 16 }; 17 } 18 19 /// This macro is so cool, it's Super. 20 #[macro_export] 21 macro_rules! super_macro { 22 () => { 23 println!("is it a bird? a plane? no, it's Super Macro!"); 24 }; 25 } 26