aboutsummaryrefslogtreecommitdiffstats
path: root/rustlings/exercises/21_macros/README.md
diff options
context:
space:
mode:
authorHunter Kvalevog <hunter@kvog.sh>2026-09-14 17:15:13 -0500
committerHunter Kvalevog <hunter@kvog.sh>2026-09-14 17:28:26 -0500
commitd1678120b9e397f86efb58c8777a483379e6a886 (patch)
tree15a13e34a794ec182c1e4c4507645ac43e07c6bc /rustlings/exercises/21_macros/README.md
parent3525747f961cb8438dd847a8ca95a18cf2661334 (diff)
downloaddemos-d1678120b9e397f86efb58c8777a483379e6a886.tar.gz
demos-d1678120b9e397f86efb58c8777a483379e6a886.zip
Diffstat (limited to 'rustlings/exercises/21_macros/README.md')
-rw-r--r--rustlings/exercises/21_macros/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/rustlings/exercises/21_macros/README.md b/rustlings/exercises/21_macros/README.md
new file mode 100644
index 0000000..de7fb7b
--- /dev/null
+++ b/rustlings/exercises/21_macros/README.md
@@ -0,0 +1,15 @@
+# Macros
+
+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.
+
+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
+
+- [The Rust Book - Macros](https://doc.rust-lang.org/book/ch20-05-macros.html)
+- [The Little Book of Rust Macros](https://veykril.github.io/tlborm/)
+- [Rust by Example - macro_rules!](https://doc.rust-lang.org/rust-by-example/macros.html)