Skip to content

Commit

Permalink
Added link for hygenic macro system in macros.md
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherdumas committed Sep 5, 2015
1 parent b7b1dce commit 3fa1ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/trpl/macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3fa1ee4

Please sign in to comment.