diff options
| author | mokou <mokou@fastmail.com> | 2022-07-11 13:19:19 +0200 |
|---|---|---|
| committer | mokou <mokou@fastmail.com> | 2022-07-11 13:19:19 +0200 |
| commit | 0ded8a90c026bf5c6129d96956183c641ac1ad20 (patch) | |
| tree | d2a6a46e8fba6cae3a49ad57cfd37a89c3b321fe /exercises | |
| parent | 0aee54a82b699d1e46d190b21d03101e8522b242 (diff) | |
feat(intro1): add more hints
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/intro/intro1.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/exercises/intro/intro1.rs b/exercises/intro/intro1.rs index 1c4582d..5d4becf 100644 --- a/exercises/intro/intro1.rs +++ b/exercises/intro/intro1.rs @@ -4,6 +4,10 @@ // after you already figured it out. If you got everything working and feel // ready for the next exercise, remove the `I AM NOT DONE` comment below. // Execute the command `rustlings hint intro1` for a hint. +// +// If you're running this using `rustlings watch`: The exercise file will be reloaded +// when you change one of the lines below! Try adding a `println!` line, or try changing +// what it outputs in your terminal. Try removing a semicolon and see what happens! // I AM NOT DONE @@ -20,4 +24,7 @@ fn main() { println!("This exercise compiles successfully. The remaining exercises contain a compiler"); println!("or logic error. The central concept behind Rustlings is to fix these errors and"); println!("solve the exercises. Good luck!"); + println!(); + println!("The source for this exercise is in `exercises/intro/intro1.rs`. Have a look!"); + println!("Going forward, the source of the exercises will always be in the success/failure output."); } |
