From b33c4c8a55d95fa40896f932f12b4ae37647fa3a Mon Sep 17 00:00:00 2001 From: Arthur Milchior Date: Sun, 29 May 2022 13:03:24 +0200 Subject: [PATCH] Update src/lifetimes.md Co-authored-by: Yuki Okushi --- src/lifetimes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lifetimes.md b/src/lifetimes.md index 069d0cd..55846e7 100644 --- a/src/lifetimes.md +++ b/src/lifetimes.md @@ -32,7 +32,7 @@ explicitly is *extremely noisy*. All Rust code relies on aggressive inference and elision of "obvious" things. One particularly interesting piece of sugar is that each `let` statement -implicitly introduces a scope immediately after the stateme. For the most part, +implicitly introduces a scope immediately after the declaration. For the most part, this doesn't really matter. However it does matter for variables that refer to each other. As a simple example, let's completely desugar this simple piece of Rust code: