summaryrefslogtreecommitdiff
path: root/rustlings/solutions/00_intro
diff options
context:
space:
mode:
Diffstat (limited to 'rustlings/solutions/00_intro')
-rw-r--r--rustlings/solutions/00_intro/intro1.rs5
-rw-r--r--rustlings/solutions/00_intro/intro2.rs4
2 files changed, 5 insertions, 4 deletions
diff --git a/rustlings/solutions/00_intro/intro1.rs b/rustlings/solutions/00_intro/intro1.rs
index dcf2377..4fe8454 100644
--- a/rustlings/solutions/00_intro/intro1.rs
+++ b/rustlings/solutions/00_intro/intro1.rs
@@ -1,4 +1,5 @@
fn main() {
- // DON'T EDIT THIS SOLUTION FILE!
- // It will be automatically filled after you finish the exercise.
+ // Congratulations, you finished the first exercise 🎉
+ // As an introduction to Rustlings, the first exercise only required
+ // entering `n` in the terminal to go to the next exercise.
}
diff --git a/rustlings/solutions/00_intro/intro2.rs b/rustlings/solutions/00_intro/intro2.rs
index dcf2377..b8e031a 100644
--- a/rustlings/solutions/00_intro/intro2.rs
+++ b/rustlings/solutions/00_intro/intro2.rs
@@ -1,4 +1,4 @@
fn main() {
- // DON'T EDIT THIS SOLUTION FILE!
- // It will be automatically filled after you finish the exercise.
+ // `println!` instead of `printline!`.
+ println!("Hello world!");
}