We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0c84f23 + 81739b4 commit a5ed6aaCopy full SHA for a5ed6aa
src/macros/dry.md
@@ -57,7 +57,7 @@ mod test {
57
}
58
59
60
- // Test `add_assign`, `mul_assign` and `sub_assign`
+ // Test `add_assign`, `mul_assign`, and `sub_assign`.
61
test!(add_assign, 1u32, 2u32, 3u32);
62
test!(mul_assign, 2u32, 3u32, 6u32);
63
test!(sub_assign, 3u32, 2u32, 1u32);
src/macros/dsl.md
@@ -39,3 +39,6 @@ Output:
39
This was a very simple example, but much more complex interfaces have been
40
developed, such as [`lazy_static`](https://crates.io/crates/lazy_static) or
41
[`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