diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-05-11 23:24:18 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-05-11 23:24:18 -0400 |
| commit | f8df5ea8a75dd06de91fe8d9a19b4d126b94e8db (patch) | |
| tree | bd955550c10f8df38ccb8b6c6d4c3a587efa9ac6 /src/doc | |
| parent | f4a79c0915c960b9e91cac2962659b2f028c1a16 (diff) | |
| parent | f11c4ba30c09016b07e763414c7295416283d853 (diff) | |
| download | rust-f8df5ea8a75dd06de91fe8d9a19b4d126b94e8db.tar.gz rust-f8df5ea8a75dd06de91fe8d9a19b4d126b94e8db.zip | |
Rollup merge of #25282 - badboy:reference-macro-1, r=alexcrichton
As mentioned in https://github.com/rust-lang/rust/issues/16676#issuecomment-100676326 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.
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/reference.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 66a7f543ad9..9901f9a6b2c 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -547,7 +547,7 @@ _name_ s that occur in its body. At the "current layer", they all must repeat the same number of times, so ` ( $( $i:ident ),* ; $( $j:ident ),* ) => ( $( ($i,$j) ),* )` is valid if given the argument `(a,b,c ; d,e,f)`, but not `(a,b,c ; d,e)`. The repetition walks through the choices at that layer in -lockstep, so the former input transcribes to `( (a,d), (b,e), (c,f) )`. +lockstep, so the former input transcribes to `(a,d), (b,e), (c,f)`. Nested repetitions are allowed. |
