Skip to content

Commit 13837b2

Browse files
authored
Merge pull request #1735 from 0atman/main
fix(intro2): Changed intro2 to be a name error, not a format string error
2 parents c306792 + 2ac6606 commit 13837b2

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)