From 84bdea68e0e6058de1f83f988bb81d7646e443be Mon Sep 17 00:00:00 2001 From: Michael Cain Date: Mon, 13 Feb 2023 09:18:49 -0600 Subject: [PATCH] Update exercises/intro/intro2.rs Co-authored-by: Paul Scarrone --- 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 61405c84..7a00e8d6 100644 --- a/exercises/intro/intro2.rs +++ b/exercises/intro/intro2.rs @@ -3,5 +3,6 @@ // Execute `rustlings hint intro2` or use the `hint` watch subcommand for a hint. fn main() { - println!("Hello {}!", "world"); + let world = "world"; + println!("Hello {world}!"); }