From 1ef810f3751f772fa0d2da6cdd34eef10f69e7e6 Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Sun, 25 Aug 2024 02:56:07 +0000 Subject: [PATCH] Update Examples --- Examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples.md b/Examples.md index 8d927e8..9b809b4 100644 --- a/Examples.md +++ b/Examples.md @@ -630,12 +630,12 @@ fn main //! (1) Since there is only a single expression //! following the `let z=`, without the `scope` //! keyword this would merely be `let z = 2 * x` - //! (2) The final semicolon is allowed and preserved + //! (2) The final semicolon is allowed and preserved //! by Husht to suppress the return value from //! the scope, but returning the last expression //! from a scope is the default for Husht let z = scope - // Final semicolon discards value; `z` ← `() + // Final semicolon discards value; `z` ← `()` 2 * x; println! "x is {:?}", x