From bf66df1a16461ef1ee50510803a3097914ffcb82 Mon Sep 17 00:00:00 2001 From: Hunter Kvalevog Date: Mon, 14 Sep 2026 17:15:13 -0500 Subject: Add rustlings --- rustlings/exercises/21_macros/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 rustlings/exercises/21_macros/README.md (limited to 'rustlings/exercises/21_macros/README.md') 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) -- cgit v1.2.3