Skip to content

Commit 81739b4

Browse files
committed
Add a comment about curly braces
1 parent bb6fb9e commit 81739b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/macros/dsl.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ Output:
3939
This was a very simple example, but much more complex interfaces have been
4040
developed, such as [`lazy_static`](https://crates.io/crates/lazy_static) or
4141
[`clap`](https://crates.io/crates/clap).
42+
43+
Also, note the two pairs of braces in the macro. The outer ones are
44+
part of the syntax of `macro_rules!`, in addition to `()` or `[]`.

0 commit comments

Comments
 (0)