From eb606853505e7ee1f81d7dd97e770026f9e795db Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Sun, 25 Aug 2024 02:52:49 +0000 Subject: [PATCH] Update Examples --- Examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples.md b/Examples.md index 42f7350..cf7985e 100644 --- a/Examples.md +++ b/Examples.md @@ -606,7 +606,7 @@ fn main() { }; let z = { - // Semicolon suppresses final value, so `z` gets `()` + // Semicolon discards 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 - // Semicolon suppresses final value, so `z` gets `()` + // Semicolon discards final value, so `z` gets `()` 2 * x; println! "x is {:?}", x