From 79f72941575ff20c3ef642f8eb8996558bbc6dc4 Mon Sep 17 00:00:00 2001 From: "Sinan Sonmez (Chaush)" <37421564+sinansonmez@users.noreply.github.com> Date: Mon, 30 Oct 2023 22:37:13 +0100 Subject: [PATCH 1/2] Update closures.md to correct a typo --- src/fn/closures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fn/closures.md b/src/fn/closures.md index 82286003b6..24c0c7720a 100644 --- a/src/fn/closures.md +++ b/src/fn/closures.md @@ -14,7 +14,7 @@ variable names *must* be specified. Other characteristics of closures include: * using `||` instead of `()` around input variables. -* optional body delimination (`{}`) for a single expression (mandatory otherwise). +* optional body delimination (`{}`) for a single line expression (mandatory otherwise). * the ability to capture the outer environment variables. ```rust,editable From b76736451611bc1c14d9846c5ef86a3cf5db5a60 Mon Sep 17 00:00:00 2001 From: "Sinan Sonmez (Chaush)" <37421564+sinansonmez@users.noreply.github.com> Date: Wed, 1 Nov 2023 20:47:19 +0100 Subject: [PATCH 2/2] Update src/fn/closures.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Красимир Беров --- src/fn/closures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fn/closures.md b/src/fn/closures.md index 24c0c7720a..d30f3b72d2 100644 --- a/src/fn/closures.md +++ b/src/fn/closures.md @@ -14,7 +14,7 @@ variable names *must* be specified. Other characteristics of closures include: * using `||` instead of `()` around input variables. -* optional body delimination (`{}`) for a single line expression (mandatory otherwise). +* optional body delimitation (`{}`) for a single line expression (mandatory otherwise). * the ability to capture the outer environment variables. ```rust,editable