diff options
| author | midinastasurazz <mpavlovsky@gmail.com> | 2015-09-08 14:06:35 +0200 |
|---|---|---|
| committer | midinastasurazz <mpavlovsky@gmail.com> | 2015-09-08 14:06:35 +0200 |
| commit | 3e8038bcab8e43e6f3f5761af4ea64372da0c4e0 (patch) | |
| tree | c37d9f25c955697425e949eda517776a9b4fe79a /src | |
| parent | a7d63fdbd093a09cae5ec55be881f1195e43cfcd (diff) | |
| download | rust-3e8038bcab8e43e6f3f5761af4ea64372da0c4e0.tar.gz rust-3e8038bcab8e43e6f3f5761af4ea64372da0c4e0.zip | |
Fix link to hygienic macros on Wikipedia
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 c13b13b5a07..d74cd6d0d35 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][https://en.wikipedia.org/wiki/Hygienic_macro]. Each macro expansion +This works because Rust has a [hygienic macro system]. 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 |
