From 3937082a3cc7c3f0f963349b93975424a069a25d Mon Sep 17 00:00:00 2001 From: Paul Scarrone Date: Sun, 12 Feb 2023 19:20:40 -0500 Subject: [PATCH 1/2] intro2 --- exercises/intro/intro2.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exercises/intro/intro2.rs b/exercises/intro/intro2.rs index efc1af20..49b3a150 100644 --- a/exercises/intro/intro2.rs +++ b/exercises/intro/intro2.rs @@ -5,5 +5,6 @@ // I AM NOT DONE fn main() { - println!("Hello {}!"); + let world = "world"; + println!("Hello {world}!"); } From f47eafb657e0a174dc3da06658c7b2f0caaf2b80 Mon Sep 17 00:00:00 2001 From: Paul Scarrone Date: Sun, 12 Feb 2023 19:22:48 -0500 Subject: [PATCH 2/2] done 2 --- exercises/intro/intro2.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/exercises/intro/intro2.rs b/exercises/intro/intro2.rs index 49b3a150..7a00e8d6 100644 --- a/exercises/intro/intro2.rs +++ b/exercises/intro/intro2.rs @@ -2,8 +2,6 @@ // Make the code print a greeting to the world. // Execute `rustlings hint intro2` or use the `hint` watch subcommand for a hint. -// I AM NOT DONE - fn main() { let world = "world"; println!("Hello {world}!");