From bdf9fd191fe3c83d04e7143a9aa4075056cd945e Mon Sep 17 00:00:00 2001 From: Lucius Hu Date: Sun, 22 Dec 2019 01:24:00 -0500 Subject: [PATCH] Fix typo in macros-by-example.md --- src/macros-by-example.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macros-by-example.md b/src/macros-by-example.md index 34c2d4af9cb81..499f4bab735d3 100644 --- a/src/macros-by-example.md +++ b/src/macros-by-example.md @@ -172,7 +172,7 @@ compiler knows how to expand them properly: `=> { $( $i );* }` is correct and replaces a comma-separated list of identifiers with a semicolon-separated list. 1. Second, each repetition in the transcriber must contain at least one - metavariable to decide now many times to expand it. If multiple + metavariable to decide how many times to expand it. If multiple metavariables appear in the same repetition, they must be bound to the same number of fragments. For instance, `( $( $i:ident ),* ; $( $j:ident ),* ) => ( $( ($i,$j) ),*` must bind the same number of `$i` fragments as `$j`