diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-04-24 10:38:07 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-04-24 10:38:07 +0530 |
| commit | 131b5aca5a8c04f7a565e5f2c95eccbf9b75970f (patch) | |
| tree | d9eb7bf9fc542040af85ab1e962e8bf71c2d600e /src/doc/reference.md | |
| parent | a33b5d3460343bdbe9e1c21d596397dc3e416bde (diff) | |
| download | rust-131b5aca5a8c04f7a565e5f2c95eccbf9b75970f.tar.gz rust-131b5aca5a8c04f7a565e5f2c95eccbf9b75970f.zip | |
fixup #24754
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 0157dc7b367..a61d635af7d 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -700,9 +700,9 @@ in macro rules). In the transcriber, the designator is already known, and so only the name of a matched nonterminal comes after the dollar sign. In both the matcher and transcriber, the Kleene star-like operator indicates -repetition. The Kleene star operator consists of `$` and parenthesis, optionally +repetition. The Kleene star operator consists of `$` and parentheses, optionally followed by a separator token, followed by `*` or `+`. `*` means zero or more -repetitions, `+` means at least one repetition. The parenthesis are not matched or +repetitions, `+` means at least one repetition. The parentheses are not matched or transcribed. On the matcher side, a name is bound to _all_ of the names it matches, in a structure that mimics the structure of the repetition encountered on a successful match. The job of the transcriber is to sort that structure |
