diff options
| author | Christian Stadelmann <dev@genodeftest.de> | 2015-06-04 15:53:22 +0200 |
|---|---|---|
| committer | Christian Stadelmann <dev@genodeftest.de> | 2015-06-04 15:53:22 +0200 |
| commit | 2abffd55dba9f9ac45dad3fd0ae568f0f78b99db (patch) | |
| tree | e5b59c43b1284099ae7a294480c13b270bcc6317 | |
| parent | 3c0165d59ffc3abe890a0e6512c60e8ab76a16d5 (diff) | |
| download | rust-2abffd55dba9f9ac45dad3fd0ae568f0f78b99db.tar.gz rust-2abffd55dba9f9ac45dad3fd0ae568f0f78b99db.zip | |
[Documentation: Macros] Use some more SSL
| -rw-r--r-- | src/doc/trpl/macros.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/trpl/macros.md b/src/doc/trpl/macros.md index e843dbeed3c..1317a149090 100644 --- a/src/doc/trpl/macros.md +++ b/src/doc/trpl/macros.md @@ -224,7 +224,7 @@ more" match. Both forms optionally include a separator, which can be any token except `+` or `*`. This system is based on -"[Macro-by-Example](http://www.cs.indiana.edu/ftp/techreports/TR206.pdf)" +"[Macro-by-Example](https://www.cs.indiana.edu/ftp/techreports/TR206.pdf)" (PDF link). # Hygiene @@ -319,7 +319,7 @@ 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 the macro, and therefore they don’t conflict. -[hygienic macro system]: http://en.wikipedia.org/wiki/Hygienic_macro +[hygienic macro system]: https://en.wikipedia.org/wiki/Hygienic_macro This also restricts the ability of macros to introduce new bindings at the invocation site. Code such as the following will not work: @@ -622,7 +622,7 @@ invocation gives you another opportunity to pattern-match the macro’s arguments. As an extreme example, it is possible, though hardly advisable, to implement -the [Bitwise Cyclic Tag](http://esolangs.org/wiki/Bitwise_Cyclic_Tag) automaton +the [Bitwise Cyclic Tag](https://esolangs.org/wiki/Bitwise_Cyclic_Tag) automaton within Rust’s macro system. ```rust |
