mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-05-29 18:56:08 +02:00
382e16eb7e | ||
---|---|---|
.. | ||
README.md | ||
macros1.rs | ||
macros2.rs | ||
macros3.rs | ||
macros4.rs |
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.