invokations -> invocations

This commit is contained in:
Takanori Ishibashi 2018-05-15 21:59:30 +09:00 committed by Who? Me?!
parent f5a7ed409d
commit 379ce9ae66
1 changed files with 1 additions and 1 deletions

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