invokations -> invocations

This commit is contained in:
Takanori Ishibashi 2018-05-15 21:59:30 +09:00 committed by Who? Me?!
parent 18835fbc6b
commit bcb81eb491

View file

@ -2,7 +2,7 @@
Macro expansion happens during parsing. `rustc` has two parsers, in fact: the
normal Rust parser, and the macro parser. During the parsing phase, the normal
Rust parser will set aside the contents of macros and their invokations. Later,
Rust parser will set aside the contents of macros and their invocations. Later,
before name resolution, macros are expanded using these portions of the code.
The macro parser, in turn, may call the normal Rust parser when it needs to
bind a metavariable (e.g. `$my_expr`) while parsing the contents of a macro