mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-29 07:19:17 +00:00
- Renamed/ordered the directories for macros, clippy, and conversions, shifting them all one up in numerical order to fit async as number 21 - Added the 21_async directories in exercises and solutions - Added async1.rs in the 21_async directory in exercises and solutions - Added async to the info.toml in rustlings-macros and reordered the rest of the exercises in there as well - Created an exercise for async1 and its solution
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.