File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
// macros1.rs
2
- // Make me compile! Execute `rustlings hint macros1` for hints :)
2
+ // Execute `rustlings hint macros1` or use the `hint` watch subcommand for a hint.
3
3
4
4
// I AM NOT DONE
5
5
Original file line number Diff line number Diff line change 1
1
// macros2.rs
2
- // Make me compile! Execute `rustlings hint macros2` for hints :)
2
+ // Execute `rustlings hint macros2` or use the `hint` watch subcommand for a hint.
3
3
4
4
// I AM NOT DONE
5
5
Original file line number Diff line number Diff line change 1
1
// macros3.rs
2
2
// Make me compile, without taking the macro out of the module!
3
- // Execute `rustlings hint macros3` for hints :)
3
+ // Execute `rustlings hint macros3` or use the `hint` watch subcommand for a hint.
4
4
5
5
// I AM NOT DONE
6
6
Original file line number Diff line number Diff line change 1
1
// macros4.rs
2
- // Make me compile! Execute `rustlings hint macros4` for hints :)
2
+ // Execute `rustlings hint macros4` or use the `hint` watch subcommand for a hint.
3
3
4
4
// I AM NOT DONE
5
5
Original file line number Diff line number Diff line change @@ -958,7 +958,12 @@ mode = "compile"
958
958
hint = """
959
959
You only need to add a single character to make this compile.
960
960
The way macros are written, it wants to see something between each
961
- "macro arm", so it can separate them."""
961
+ "macro arm", so it can separate them.
962
+
963
+ That's all the macro exercises we have in here, but it's barely even
964
+ scratching the surface of what you can do with Rust's macros. For a more
965
+ thorough introduction, you can have a read through the little book of Rust
966
+ macros: https://veykril.github.io/tlborm/"""
962
967
963
968
# TEST 4
964
969
You can’t perform that action at this time.
0 commit comments