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] 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