Procedural macros

This commit is contained in:
Corey Farwell 2017-02-20 23:15:56 -05:00 committed by Steve Klabnik
parent b443c5ee22
commit cdcc0f3850
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@
thing they can be used for is to implement derive on your own types. See
[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
standard libraries. First is the `proc_macro` crate, included with Rust,
that defines an interface for building a procedural macro. The