]> git.lizzy.rs Git - rust.git/commitdiff
Macros
authorCorey Farwell <coreyf@rwell.org>
Tue, 21 Feb 2017 04:11:15 +0000 (23:11 -0500)
committerSteve Klabnik <steve@steveklabnik.com>
Tue, 21 Feb 2017 19:01:38 +0000 (14:01 -0500)
src/doc/reference/src/macros.md

index 93cf83dbd5a3e70df3557fb5fec4e49520a772a3..9ec5f2d6945e5bd0b749264fd045daa2f08f1fc6 100644 (file)
@@ -6,8 +6,12 @@ names, and invoked through a consistent syntax: `some_extension!(...)`.
 
 Users of `rustc` can define new macros in two ways:
 
-* [Macros](book/macros.html) define new syntax in a higher-level,
+* [Macros] define new syntax in a higher-level,
   declarative way.
-* [Procedural Macros][procedural macros] can be used to implement custom derive.
+* [Procedural Macros] can be used to implement custom derive.
 
-And one unstable way: [compiler plugins][plugin].
+And one unstable way: [compiler plugins].
+
+[Macros]: ../book/macros.html
+[Procedural Macros]: ../book/procedural-macros.html
+[compiler plugins]: ../book/compiler-plugins.html