From ab73d455fe38b1fc18e15302b98a5cbfdb0dc94e Mon Sep 17 00:00:00 2001 From: Jay True Date: Sun, 18 Jan 2015 21:23:22 +0800 Subject: [PATCH] fix formatting --- src/doc/trpl/macros.md | 1 + 1 file changed, 1 insertion(+) 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 `=`.