Merge pull request #1735 from 0atman/main

fix(intro2): Changed intro2 to be a name error, not a format string error
This commit is contained in:
liv 2023-11-02 10:01:48 +01:00 committed by GitHub
commit 13837b25cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -8,5 +8,5 @@
// I AM NOT DONE // I AM NOT DONE
fn main() { fn main() {
println!("Hello {}!"); printline!("Hello there!")
} }

View file

@ -13,7 +13,7 @@ name = "intro2"
path = "exercises/00_intro/intro2.rs" path = "exercises/00_intro/intro2.rs"
mode = "compile" mode = "compile"
hint = """ hint = """
Add an argument after the format string.""" The compiler is informing us that we've got the name of the print macro wrong, and has suggested an alternative."""
# VARIABLES # VARIABLES