Content deleted Content added
m →Other: FB = Facebook |
→Language extensions: snake_case is normative for attribute macro names |
||
Line 169:
* Function-like macros <code>custom!(...)</code>
* Derive macros <code>#[derive(CustomDerive)]</code>
* Attribute macros <code>#[
The <code>println!</code> macro is an example of a function-like macro and <code>serde_derive</code><ref>{{cite web|url=https://serde.rs/derive.html|title=Serde Derive|website=Serde Derive documentation|access-date=23 Mar 2021|archive-date=17 April 2021|archive-url=https://web.archive.org/web/20210417114849/https://serde.rs/derive.html|url-status=live}}</ref> is a commonly used library for generating code
|