From 119b48fc7f18a09399d09469101b91c6e67bb25e Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Sun, 25 Aug 2024 02:51:54 +0000 Subject: [PATCH] Update Examples --- Examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples.md b/Examples.md index 3d2f3c6..42f7350 100644 --- a/Examples.md +++ b/Examples.md @@ -606,7 +606,7 @@ fn main() { }; let z = { - // The semicolon suppresses this expression and `()` is assigned to `z` + // Semicolon suppresses final value, so `z` gets `()` 2 * x; }; @@ -635,7 +635,7 @@ fn main //! the scope, but returning the last expression //! from a scope is the default for Husht let z = scope - // The semicolon suppresses this expression and `()` is assigned to `z` + // Semicolon suppresses final value, so `z` gets `()` 2 * x; println! "x is {:?}", x