From 3346034900452137d306ea38f823bdea242e83cd Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Sun, 25 Aug 2024 01:00:35 +0000 Subject: [PATCH] Update Examples --- Examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples.md b/Examples.md index 170af29..d5fe77b 100644 --- a/Examples.md +++ b/Examples.md @@ -547,7 +547,7 @@ fn main() { println!("inner short: {}", short_lived_binding); } - // Error! `short_lived_binding` doesn't exist in this scope + // Error! `short_lived_binding` doesn't exist here println!("outer short: {}", short_lived_binding); // FIXME ^ Comment out this line @@ -564,7 +564,7 @@ fn main let short_lived_binding = 2 println! "inner short: {}", short_lived_binding - // Error! `short_lived_binding` doesn't exist in this scope + // Error! `short_lived_binding` doesn't exist here println! "outer short: {}", short_lived_binding // FIXME ^ Comment out this line