Skip to content

Commit 2f49122

Browse files
committed
TRPL: Remove references to "advanced macros chapter"
This was merged back into the regular macros chapter, but a few references lingered and caused broken links.
1 parent ad2684c commit 2f49122

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/doc/trpl/macros.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ let x: Vec<u32> = {
5757
We can implement this shorthand, using a macro: [^actual]
5858

5959
[^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.
6261

6362
```rust
6463
macro_rules! vec {
@@ -106,7 +105,7 @@ These have [their own little grammar] within the language.
106105

107106
The matcher `$x:expr` will match any Rust expression, binding that syntax tree
108107
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.
110109
Surrounding the matcher with `$(...),*` will match zero or more expressions,
111110
separated by commas.
112111

0 commit comments

Comments
 (0)