mirror of
https://github.com/notohh/rustlings.git
synced 2025-06-29 22:37:42 -04:00
macros3 solution
This commit is contained in:
parent
9845e046de
commit
4cb15a4cda
3 changed files with 16 additions and 7 deletions
rustlings-macros
|
@ -1109,10 +1109,7 @@ dir = "21_macros"
|
|||
test = false
|
||||
hint = """
|
||||
In order to use a macro outside of its module, you need to do something
|
||||
special to the module to lift the macro out into its parent.
|
||||
|
||||
The same trick also works on "extern crate" statements for crates that have
|
||||
exported macros, if you've seen any of those around."""
|
||||
special to the module to lift the macro out into its parent."""
|
||||
|
||||
[[exercises]]
|
||||
name = "macros4"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue