Skip to content

Commit 7e3bb03

Browse files
committed
Rollup merge of #24743 - geofft:trpl-macros-links, r=steveklabnik
r? @steveklabnik
2 parents 292a25f + 2f49122 commit 7e3bb03

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/doc/trpl/macros.md

Lines changed: 3 additions & 4 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

@@ -566,7 +565,7 @@ When this library is loaded with `#[macro_use] extern crate`, only `m2` will
566565
be imported.
567566

568567
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).
570569

571570
# The variable `$crate`
572571

0 commit comments

Comments
 (0)