From 1f23b3f02901afcd818804ef0176a26d0c7268d4 Mon Sep 17 00:00:00 2001 From: Dev Chrysalis Dalal Date: Wed, 26 Mar 2025 23:06:33 -0500 Subject: [PATCH] fix missing `in` keyword in example that got inadvertently deleted --- docs/syntax-if-while-local-initializers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/syntax-if-while-local-initializers.md b/docs/syntax-if-while-local-initializers.md index 134e5c9..758cb60 100644 --- a/docs/syntax-if-while-local-initializers.md +++ b/docs/syntax-if-while-local-initializers.md @@ -281,7 +281,7 @@ By expecting the leftmost binding to always exist, we can better support the pri ```luau if local character = player.Character - character:FindFirstChildOfClass("Humanoid").Health > 20 + in character:FindFirstChildOfClass("Humanoid").Health > 20 -- since character is the leftmost binding, it's guaranteed to exist -- and a `character and` or `character ~= nil` check isn't needed then