mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
Update intro1
This commit is contained in:
parent
5658998c0c
commit
de0befef9c
|
@ -1,11 +1,10 @@
|
||||||
// We sometimes encourage you to keep trying things on a given exercise, even
|
// We sometimes encourage you to keep trying things on a given exercise, even
|
||||||
// after you already figured it out. If you got everything working and feel
|
// 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.
|
// ready for the next exercise, enter `n` (or `next`) in the terminal.
|
||||||
//
|
//
|
||||||
// If you're running this using `rustlings watch`: The exercise file will be
|
// The exercise file will be reloaded when you change one of the lines below!
|
||||||
// reloaded when you change one of the lines below! Try adding a `println!`
|
// Try adding a new `println!`.
|
||||||
// line, or try changing what it outputs in your terminal. Try removing a
|
// Try removing a semicolon and see what happens in the terminal!
|
||||||
// semicolon and see what happens!
|
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Hello and");
|
println!("Hello and");
|
||||||
|
@ -22,5 +21,6 @@ fn main() {
|
||||||
println!("solve the exercises. Good luck!");
|
println!("solve the exercises. Good luck!");
|
||||||
println!();
|
println!();
|
||||||
println!("The file of this exercise is `exercises/00_intro/intro1.rs`. Have a look!");
|
println!("The file of this exercise is `exercises/00_intro/intro1.rs`. Have a look!");
|
||||||
println!("The current exercise path is shown under the progress bar in the watch mode.");
|
println!("The current exercise path will be always shown under the progress bar.");
|
||||||
|
println!("You can click on the path to open the exercise file in your editor.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue