mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 23:36:30 +00:00
Update intro1 hint
This commit is contained in:
parent
62a2c1a6d9
commit
ee2b772dd5
1 changed files with 3 additions and 6 deletions
|
@ -5,7 +5,7 @@ We are going to teach you a lot of things about Rust, but before we can
|
||||||
get started, here are some notes about how Rustlings operates:
|
get started, here are some notes about how Rustlings operates:
|
||||||
|
|
||||||
1. The central concept behind Rustlings is that you solve exercises. These
|
1. The central concept behind Rustlings is that you solve exercises. These
|
||||||
exercises usually contain some syntax or logic errors which cause the
|
exercises usually contain some compiler or logic errors which cause the
|
||||||
exercise to fail compilation or testing. It's your job to find all errors
|
exercise to fail compilation or testing. It's your job to find all errors
|
||||||
and fix them!
|
and fix them!
|
||||||
2. Make sure to have your editor open in the `rustlings/` directory. Rustlings
|
2. Make sure to have your editor open in the `rustlings/` directory. Rustlings
|
||||||
|
@ -13,8 +13,7 @@ get started, here are some notes about how Rustlings operates:
|
||||||
the exercise file in your editor, fix errors and save the file. Rustlings will
|
the exercise file in your editor, fix errors and save the file. Rustlings will
|
||||||
automatically detect the file change and rerun the exercise. If all errors are
|
automatically detect the file change and rerun the exercise. If all errors are
|
||||||
fixed, Rustlings will ask you to move on to the next exercise.
|
fixed, Rustlings will ask you to move on to the next exercise.
|
||||||
3. If you're stuck on an exercise, you can request a hint by typing `h` or `hint`
|
3. If you're stuck on an exercise, enter `h` (or `hint`) to show a hint.
|
||||||
followed by ENTER.
|
|
||||||
4. If an exercise doesn't make sense to you, feel free to open an issue on GitHub!
|
4. If an exercise doesn't make sense to you, feel free to open an issue on GitHub!
|
||||||
(https://github.com/rust-lang/rustlings). We look at every issue, and sometimes,
|
(https://github.com/rust-lang/rustlings). We look at every issue, and sometimes,
|
||||||
other learners do too so you can help each other out!
|
other learners do too so you can help each other out!
|
||||||
|
@ -36,9 +35,7 @@ name = "intro1"
|
||||||
dir = "00_intro"
|
dir = "00_intro"
|
||||||
test = false
|
test = false
|
||||||
# TODO: Fix hint
|
# TODO: Fix hint
|
||||||
hint = """
|
hint = """Enter `n` (or `next`) followed by ENTER to move on to the next exercise"""
|
||||||
Remove the `I AM NOT DONE` comment in the `exercises/intro00/intro1.rs` file
|
|
||||||
to move on to the next exercise."""
|
|
||||||
|
|
||||||
[[exercises]]
|
[[exercises]]
|
||||||
name = "intro2"
|
name = "intro2"
|
||||||
|
|
Loading…
Reference in a new issue