diff options
| author | Jay True <glacjay@gmail.com> | 2015-01-18 21:23:22 +0800 |
|---|---|---|
| committer | Jay True <glacjay@gmail.com> | 2015-01-18 21:23:22 +0800 |
| commit | ab73d455fe38b1fc18e15302b98a5cbfdb0dc94e (patch) | |
| tree | 30e10c8de24613342be58215e9fada24ed9485e3 /src | |
| parent | 30f081e54843952e34b0632e1b0ec54547bf6e3c (diff) | |
| download | rust-ab73d455fe38b1fc18e15302b98a5cbfdb0dc94e.tar.gz rust-ab73d455fe38b1fc18e15302b98a5cbfdb0dc94e.zip | |
fix formatting
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/macros.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/trpl/macros.md b/src/doc/trpl/macros.md index e0bccb1b86f..f429e9df196 100644 --- a/src/doc/trpl/macros.md +++ b/src/doc/trpl/macros.md @@ -101,6 +101,7 @@ So `($x:ident -> (($e:expr)))`, though excessively fancy, would designate a macr that could be invoked like: `my_macro!(i->(( 2+2 )))`. To avoid ambiguity, macro invocation syntax must conform to the following rules: + * `expr` must be followed by `=>`, `,` or `;`. * `ty` and `path` must be followed by `=>`, `,`, `:`, `=`, `>` or `as`. * `pat` must be followed by `=>`, `,` or `=`. |
