Skip to content

Commit 2ac6606

Browse files
committed
fix(intro2): changed intro2 to be a name error, not a format string error.
1 parent c306792 commit 2ac6606

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exercises/00_intro/intro2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
// I AM NOT DONE
99

1010
fn main() {
11-
println!("Hello {}!");
11+
printline!("Hello there!")
1212
}

info.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ name = "intro2"
1313
path = "exercises/00_intro/intro2.rs"
1414
mode = "compile"
1515
hint = """
16-
Add an argument after the format string."""
16+
The compiler is informing us that we've got the name of the print macro wrong, and has suggested an alternative."""
1717

1818
# VARIABLES
1919

0 commit comments

Comments
 (0)