From 3fa1ee4677d756fa38884766b39d65633261235b Mon Sep 17 00:00:00 2001 From: christopherdumas Date: Sat, 5 Sep 2015 06:04:15 -0700 Subject: [PATCH] Added link for hygenic macro system in macros.md --- src/doc/trpl/macros.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/trpl/macros.md b/src/doc/trpl/macros.md index 1317a1490903b..c13b13b5a0792 100644 --- a/src/doc/trpl/macros.md +++ b/src/doc/trpl/macros.md @@ -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