File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed 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