Skip to content

Commit ab73d45

Browse files
committed
fix formatting
1 parent 30f081e commit ab73d45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/doc/trpl/macros.md

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ So `($x:ident -> (($e:expr)))`, though excessively fancy, would designate a macr
101101
that could be invoked like: `my_macro!(i->(( 2+2 )))`.
102102

103103
To avoid ambiguity, macro invocation syntax must conform to the following rules:
104+
104105
* `expr` must be followed by `=>`, `,` or `;`.
105106
* `ty` and `path` must be followed by `=>`, `,`, `:`, `=`, `>` or `as`.
106107
* `pat` must be followed by `=>`, `,` or `=`.

0 commit comments

Comments
 (0)