summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliv <mokou@fastmail.com>2023-11-02 10:01:48 +0100
committerGitHub <noreply@github.com>2023-11-02 10:01:48 +0100
commit13837b25cf99b93ea67fbda2d1c24822bddb0a97 (patch)
tree6c53620277e5ca09a0131117bbeac675e1ec526b
parentc306792449ae3d9870f9991622590f757872c4e9 (diff)
parent2ac6606c6c747f32f8ead1ec3505e4cae6edfa5d (diff)
Merge pull request #1735 from 0atman/main
fix(intro2): Changed intro2 to be a name error, not a format string error
-rw-r--r--exercises/00_intro/intro2.rs2
-rw-r--r--info.toml2
2 files changed, 2 insertions, 2 deletions
diff --git a/exercises/00_intro/intro2.rs b/exercises/00_intro/intro2.rs
index 990b20f..a28ad3d 100644
--- a/exercises/00_intro/intro2.rs
+++ b/exercises/00_intro/intro2.rs
@@ -8,5 +8,5 @@
// I AM NOT DONE
fn main() {
- println!("Hello {}!");
+ printline!("Hello there!")
}
diff --git a/info.toml b/info.toml
index bbfee14..44f344a 100644
--- a/info.toml
+++ b/info.toml
@@ -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