Completed the intro

This commit is contained in:
Justin Kelz 2022-03-12 10:11:38 -08:00
parent cd2b5e8e3b
commit d6fbbecaa5
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,6 @@
// ready for the next exercise, remove the `I AM NOT DONE` comment below.
// Execute the command `rustlings hint intro1` for a hint.
// I AM NOT DONE
fn main() {
println!("Hello and");

View File

@ -2,8 +2,9 @@
// Make the code print a greeting to the world.
// Execute `rustlings hint intro2` for a hint.
// I AM NOT DONE
fn main() {
println!("Hello {}!");
println!("Hello {}!","world");
// you need to put in a string with double quotes. Not sure what about 'world' makes it break yet.
// It seems that a string literal needs double quotes.
}