diff options
| author | christopherdumas <christopherdumas@me.com> | 2015-09-05 06:04:15 -0700 |
|---|---|---|
| committer | christopherdumas <christopherdumas@me.com> | 2015-09-05 06:04:15 -0700 |
| commit | 3fa1ee4677d756fa38884766b39d65633261235b (patch) | |
| tree | 839a557f5a5bac18e1f97be647b8099f79f85e74 /src | |
| parent | b7b1dced3c0ab90144b4844498a3b678d690b20e (diff) | |
| download | rust-3fa1ee4677d756fa38884766b39d65633261235b.tar.gz rust-3fa1ee4677d756fa38884766b39d65633261235b.zip | |
Added link for hygenic macro system in macros.md
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/macros.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/macros.md b/src/doc/trpl/macros.md index 1317a149090..c13b13b5a07 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 |
