File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 3c0165d59ffc3abe890a0e6512c60e8ab76a16d5
2
+ refs/heads/master: 2abffd55dba9f9ac45dad3fd0ae568f0f78b99db
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5
5
refs/heads/try: 1864973ae17213c5a58c4dd3f9af6d1b6c7d2e05
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