From be91ce0d3e63db54530fecc53ece3cb11e1a510b Mon Sep 17 00:00:00 2001 From: king6cong Date: Tue, 31 Dec 2019 18:53:04 +0800 Subject: [PATCH] move ```Macro invocation``` from section on tuple to section on macros --- src/appendix-02-operators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appendix-02-operators.md b/src/appendix-02-operators.md index 3bddf322df..e70cc737f5 100644 --- a/src/appendix-02-operators.md +++ b/src/appendix-02-operators.md @@ -153,6 +153,7 @@ macros and specifying attributes on an item. | `$ident` | Macro substitution | | `$ident:kind` | Macro capture | | `$(…)…` | Macro repetition | +| `ident!(...)`, `ident!{...}`, `ident![...]` | Macro invocation | Table B-7 shows symbols that create comments. @@ -180,7 +181,6 @@ Table B-8 shows symbols that appear in the context of using tuples. | `(expr, ...)` | Tuple expression | | `(type, ...)` | Tuple type | | `expr(expr, ...)` | Function call expression; also used to initialize tuple `struct`s and tuple `enum` variants | -| `ident!(...)`, `ident!{...}`, `ident![...]` | Macro invocation | | `expr.0`, `expr.1`, etc. | Tuple indexing | Table B-9 shows the contexts in which curly braces are used.