File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
branches/beta/src/doc/trpl Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
23
23
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
24
24
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
25
25
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26
- refs/heads/beta: 3c0165d59ffc3abe890a0e6512c60e8ab76a16d5
26
+ refs/heads/beta: 2abffd55dba9f9ac45dad3fd0ae568f0f78b99db
27
27
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28
28
refs/heads/tmp: 8c0aa6d64ebab528f7eb182812007155d6044972
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ more" match. Both forms optionally include a separator, which can be any token
224
224
except ` + ` or ` * ` .
225
225
226
226
This system is based on
227
- "[ Macro-by-Example] ( http ://www.cs.indiana.edu/ftp/techreports/TR206.pdf) "
227
+ "[ Macro-by-Example] ( https ://www.cs.indiana.edu/ftp/techreports/TR206.pdf) "
228
228
(PDF link).
229
229
230
230
# Hygiene
@@ -319,7 +319,7 @@ syntax context where it was introduced. It’s as though the variable `state`
319
319
inside ` main ` is painted a different "color" from the variable ` state ` inside
320
320
the macro, and therefore they don’t conflict.
321
321
322
- [ hygienic macro system ] : http ://en.wikipedia.org/wiki/Hygienic_macro
322
+ [ hygienic macro system ] : https ://en.wikipedia.org/wiki/Hygienic_macro
323
323
324
324
This also restricts the ability of macros to introduce new bindings at the
325
325
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
622
622
arguments.
623
623
624
624
As an extreme example, it is possible, though hardly advisable, to implement
625
- the [ Bitwise Cyclic Tag] ( http ://esolangs.org/wiki/Bitwise_Cyclic_Tag) automaton
625
+ the [ Bitwise Cyclic Tag] ( https ://esolangs.org/wiki/Bitwise_Cyclic_Tag) automaton
626
626
within Rust’s macro system.
627
627
628
628
``` rust
You can’t perform that action at this time.
0 commit comments