From 880ff999ff165e0f9af9fda909b282b209474b78 Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Mon, 26 Aug 2024 22:48:50 +0000 Subject: [PATCH] Update Examples --- Examples.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Examples.md b/Examples.md index 4a80ddd..5214bb7 100644 --- a/Examples.md +++ b/Examples.md @@ -972,7 +972,7 @@ fn main &mut "Ferris" => "Rustacean alert!" _ => "Hello" - println!("names: {:?}", names); + println! "names: {:?}", names @@ -1062,8 +1062,8 @@ fn main // TODO: uncomment the line above and see the compiler error. let one = => 1 - println!("closure returning one: {}", one()); -} + println! "closure returning one: {}", one() + ```