rustlings/exercises/21_macros/README.md

15 lines
594 B
Markdown
Raw Normal View History

# Macros
2019-01-23 15:02:06 -05:00
Rust's macro system is very powerful, but also kind of difficult to wrap your
head around. We're not going to teach you how to write your own fully-featured
macros. Instead, we'll show you how to use and create them.
2019-01-23 15:02:06 -05:00
2023-03-31 05:20:11 -04:00
If you'd like to learn more about writing your own macros, the
[macrokata](https://github.com/tfpk/macrokata) project has a similar style
of exercises to Rustlings, but is all about learning to write Macros.
## Further information
2019-01-23 15:02:06 -05:00
2019-06-06 23:17:22 -04:00
- [Macros](https://doc.rust-lang.org/book/ch19-06-macros.html)
- [The Little Book of Rust Macros](https://veykril.github.io/tlborm/)