Skip to content

Commit

Permalink
Merge pull request rust-lang#671 from pearzl/master
Browse files Browse the repository at this point in the history
missing a parenthesis
  • Loading branch information
Centril authored Sep 6, 2019
2 parents 6dfa339 + d215b28 commit 913931b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macros-by-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ compiler knows how to expand them properly:
number of fragments. For instance, `( $( $i:ident ),* ; $( $j:ident ),* ) =>
( $( ($i,$j) ),*` must bind the same number of `$i` fragments as `$j`
fragments. This means that invoking the macro with `(a, b, c; d, e, f`) is
legal and expands to `((a,d), (b,e), c,f))`, but `(a, b, c; d, e)` is
legal and expands to `((a,d), (b,e), (c,f))`, but `(a, b, c; d, e)` is
illegal because it does not have the same number. This requirement applies
to every layer of nested repetitions.

Expand Down

0 comments on commit 913931b

Please sign in to comment.