From f28554d1b216d49a4d11d05995302cf54a0f9d72 Mon Sep 17 00:00:00 2001 From: Arthur Cheek Date: Thu, 15 Dec 2022 21:54:24 +0000 Subject: [PATCH] Update -guessing-game-tutorial incorrect output `println!("x = {x} and y + 2 = {}", y + 2);` "This code would print `x = 5 and y = 12`." is incorrect. changed to "This code would print `x = 5 and y + 2 = 12`." --- src/ch02-00-guessing-game-tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index 4dac237642..4f28573333 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -291,7 +291,7 @@ let y = 10; println!("x = {x} and y + 2 = {}", y + 2); ``` -This code would print `x = 5 and y = 12`. +This code would print `x = 5 and y + 2 = 12`. ### Testing the First Part