From 9361b856da7fd709d90af73899bfbd296e3270c4 Mon Sep 17 00:00:00 2001 From: James Napora <85808999+TheGreatSageEqualToHeaven@users.noreply.github.com> Date: Sun, 13 Feb 2022 16:41:10 -0800 Subject: [PATCH] Update syntax-list-comprehensions.md --- rfcs/syntax-list-comprehensions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfcs/syntax-list-comprehensions.md b/rfcs/syntax-list-comprehensions.md index bfe0b572..386b3c58 100644 --- a/rfcs/syntax-list-comprehensions.md +++ b/rfcs/syntax-list-comprehensions.md @@ -28,7 +28,7 @@ end -- list comprehensions local t = {1,2,3,4,5,6,7,8,9} -local onlyEven = {local n for n in t do if n%2 == 0 then n} +local onlyEven = {for n in t do if n%2 == 0 then n} ``` ## Drawbacks