Watch
1
0
Fork
You've already forked rustlings
0
rustlings/exercises/21_macros
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-12-18 19:06:05 +00:00
..
macros1.rs Initial commit 2025-12-18 19:06:05 +00:00
macros2.rs Initial commit 2025-12-18 19:06:05 +00:00
macros3.rs Initial commit 2025-12-18 19:06:05 +00:00
macros4.rs Initial commit 2025-12-18 19:06:05 +00:00
README.md Initial commit 2025-12-18 19:06:05 +00:00

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 project has a similar style of exercises to Rustlings, but is all about learning to write Macros.

Further information