Skip to content

Commit f8df5ea

Browse files
committed
Rollup merge of rust-lang#25282 - badboy:reference-macro-1, r=alexcrichton
As mentioned in rust-lang#16676 (comment) this makes it a little bit more correct. I'm a bit unsure whether or not it should be explained that the transcriber can be wrapped in parentheses or curly braces if necessary.
2 parents f4a79c0 + f11c4ba commit f8df5ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ _name_ s that occur in its body. At the "current layer", they all must repeat
547547
the same number of times, so ` ( $( $i:ident ),* ; $( $j:ident ),* ) => ( $(
548548
($i,$j) ),* )` is valid if given the argument `(a,b,c ; d,e,f)`, but not
549549
`(a,b,c ; d,e)`. The repetition walks through the choices at that layer in
550-
lockstep, so the former input transcribes to `( (a,d), (b,e), (c,f) )`.
550+
lockstep, so the former input transcribes to `(a,d), (b,e), (c,f)`.
551551

552552
Nested repetitions are allowed.
553553

0 commit comments

Comments
 (0)