1
0
Fork 0
mirror of https://github.com/notohh/rustlings.git synced 2025-06-28 13:57:42 -04:00

macros3 solution

This commit is contained in:
mo8it 2024-07-01 11:37:48 +02:00
parent 9845e046de
commit 4cb15a4cda
3 changed files with 16 additions and 7 deletions
exercises/21_macros

View file

@ -1,5 +1,5 @@
// Make me compile, without taking the macro out of the module!
// TODO: Fix the compiler error without taking the macro definition out of this
// module.
mod macros {
macro_rules! my_macro {
() => {