mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-21 21:42:23 -05:00
fix(intro2): changed intro2 to be a name error, not a format string error.
This commit is contained in:
parent
c306792449
commit
2ac6606c6c
2 changed files with 2 additions and 2 deletions
|
@ -8,5 +8,5 @@
|
|||
// I AM NOT DONE
|
||||
|
||||
fn main() {
|
||||
println!("Hello {}!");
|
||||
printline!("Hello there!")
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ name = "intro2"
|
|||
path = "exercises/00_intro/intro2.rs"
|
||||
mode = "compile"
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue