Skip to content

Commit 913931b

Browse files
authored
Merge pull request #671 from pearzl/master
missing a parenthesis
2 parents 6dfa339 + d215b28 commit 913931b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros-by-example.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ compiler knows how to expand them properly:
177177
number of fragments. For instance, `( $( $i:ident ),* ; $( $j:ident ),* ) =>
178178
( $( ($i,$j) ),*` must bind the same number of `$i` fragments as `$j`
179179
fragments. This means that invoking the macro with `(a, b, c; d, e, f`) is
180-
legal and expands to `((a,d), (b,e), c,f))`, but `(a, b, c; d, e)` is
180+
legal and expands to `((a,d), (b,e), (c,f))`, but `(a, b, c; d, e)` is
181181
illegal because it does not have the same number. This requirement applies
182182
to every layer of nested repetitions.
183183

0 commit comments

Comments
 (0)