2 ms·
Great. Please don't hesitate to reach out and or file issues or whatever, I really want to make this stuff good. Basically, today you define macros with macro_
by steveklabnik 10y ago
Great. Please don't hesitate to reach out and or file issues or whatever, I really want to make this stuff good.
Basically, today you define macros with macro_rules!. This shipped in Rust 1.0 because we did not have the ability to invent and implement a more proper macro system, and didn't want to hold the whole language up on one thing. In the future, you'll write macros with a "macro" keyword, and macro_rules! will be deprecated, and "macro" macros will support namespacing, etc.
- mathw 10y agoIs that "Macros 2.0", or something beyond that?