File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
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
@@ -566,7 +565,7 @@ When this library is loaded with `#[macro_use] extern crate`, only `m2` will
566
565
be imported.
567
566
568
567
The Rust Reference has a [ listing of macro-related
569
- attributes] ( ../reference.html#macro--and-plugin- related-attributes ) .
568
+ attributes] ( ../reference.html#macro-related-attributes ) .
570
569
571
570
# The variable ` $crate `
572
571
You can’t perform that action at this time.
0 commit comments