]> git.lizzy.rs Git - rust.git/commitdiff
Added link for hygenic macro system in macros.md
authorchristopherdumas <christopherdumas@me.com>
Sat, 5 Sep 2015 13:04:15 +0000 (06:04 -0700)
committerchristopherdumas <christopherdumas@me.com>
Sat, 5 Sep 2015 13:04:15 +0000 (06:04 -0700)
src/doc/trpl/macros.md

index 1317a1490903b435fda848f500d33ce9c5bbd0d2..c13b13b5a07927afdb288ec7f77056008ac78cf3 100644 (file)
@@ -313,7 +313,7 @@ fn main() {
 }
 ```
 
-This works because Rust has a [hygienic macro system][]. Each macro expansion
+This works because Rust has a [hygienic macro system][https://en.wikipedia.org/wiki/Hygienic_macro]. Each macro expansion
 happens in a distinct ‘syntax context’, and each variable is tagged with the
 syntax context where it was introduced. It’s as though the variable `state`
 inside `main` is painted a different "color" from the variable `state` inside