2021-04-23 17:54:31 +00:00
|
|
|
# Macros
|
2019-01-23 20:02:06 +00: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
|
2020-04-30 02:11:54 +00:00
|
|
|
macros. Instead, we'll show you how to use and create them.
|
2019-01-23 20:02:06 +00:00
|
|
|
|
2023-03-30 16:23:22 +00:00
|
|
|
If you'd like to learn more about writing your own macros, the
|
2022-10-24 02:57:44 +00:00
|
|
|
[macrokata](https://github.com/tfpk/macrokata) project has a similar style
|
|
|
|
of exercises to Rustlings, but is all about learning to write Macros.
|
|
|
|
|
2021-04-23 17:54:31 +00:00
|
|
|
## Further information
|
2019-01-23 20:02:06 +00:00
|
|
|
|
2019-06-07 03:17:22 +00:00
|
|
|
- [Macros](https://doc.rust-lang.org/book/ch19-06-macros.html)
|
2022-08-09 18:27:27 +00:00
|
|
|
- [The Little Book of Rust Macros](https://veykril.github.io/tlborm/)
|