diff options
| author | Geoffrey Thomas <geofft@ldpreload.com> | 2015-04-23 17:17:14 -0400 |
|---|---|---|
| committer | Geoffrey Thomas <geofft@ldpreload.com> | 2015-04-23 17:17:14 -0400 |
| commit | 2f491228c01eda39d08dd7da0e419ceae523012a (patch) | |
| tree | 04aff533adeaa23cb2c987f8610a41eb7031f875 | |
| parent | ad2684c41c9b30ead713c095b70e706ab056f07d (diff) | |
| download | rust-2f491228c01eda39d08dd7da0e419ceae523012a.tar.gz rust-2f491228c01eda39d08dd7da0e419ceae523012a.zip | |
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.
| -rw-r--r-- | src/doc/trpl/macros.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/doc/trpl/macros.md b/src/doc/trpl/macros.md index f72abd24b9c..9d01f104dda 100644 --- a/src/doc/trpl/macros.md +++ b/src/doc/trpl/macros.md @@ -57,8 +57,7 @@ let x: Vec<u32> = { We can implement this shorthand, using a macro: [^actual] [^actual]: The actual definition of `vec!` in libcollections differs from the - one presented here, for reasons of efficiency and reusability. Some - of these are mentioned in the [advanced macros chapter][]. + one presented here, for reasons of efficiency and reusability. ```rust macro_rules! vec { @@ -106,7 +105,7 @@ These have [their own little grammar] within the language. The matcher `$x:expr` will match any Rust expression, binding that syntax tree to the ‘metavariable’ `$x`. The identifier `expr` is a ‘fragment specifier’; -the full possibilities are enumerated in the [advanced macros chapter][]. +the full possibilities are enumerated later in this chapter. Surrounding the matcher with `$(...),*` will match zero or more expressions, separated by commas. |
