Procedural macros
This commit is contained in:
parent
b443c5ee22
commit
cdcc0f3850
@ -4,6 +4,8 @@
|
|||||||
thing they can be used for is to implement derive on your own types. See
|
thing they can be used for is to implement derive on your own types. See
|
||||||
[the book][procedural macros] for a tutorial.
|
[the book][procedural macros] for a tutorial.
|
||||||
|
|
||||||
|
[procedural macros]: ../book/procedural-macros.html
|
||||||
|
|
||||||
Procedural macros involve a few different parts of the language and its
|
Procedural macros involve a few different parts of the language and its
|
||||||
standard libraries. First is the `proc_macro` crate, included with Rust,
|
standard libraries. First is the `proc_macro` crate, included with Rust,
|
||||||
that defines an interface for building a procedural macro. The
|
that defines an interface for building a procedural macro. The
|
||||||
|
Loading…
x
Reference in New Issue
Block a user