File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,7 @@ let x: Vec<u32> = {
57
57
We can implement this shorthand, using a macro: [ ^ actual ]
58
58
59
59
[ ^ actual ] : The actual definition of ` vec! ` in libcollections differs from the
60
- one presented here, for reasons of efficiency and reusability. Some
61
- of these are mentioned in the [ advanced macros chapter] [ ] .
60
+ one presented here, for reasons of efficiency and reusability.
62
61
63
62
``` rust
64
63
macro_rules! vec {
@@ -106,7 +105,7 @@ These have [their own little grammar] within the language.
106
105
107
106
The matcher ` $x:expr ` will match any Rust expression, binding that syntax tree
108
107
to the ‘metavariable’ ` $x ` . The identifier ` expr ` is a ‘fragment specifier’;
109
- the full possibilities are enumerated in the [ advanced macros chapter] [ ] .
108
+ the full possibilities are enumerated later in this chapter.
110
109
Surrounding the matcher with ` $(...),* ` will match zero or more expressions,
111
110
separated by commas.
112
111
You can’t perform that action at this time.
0 commit comments