1
0
Fork 0
mirror of https://github.com/luau-lang/rfcs.git synced 2025-04-07 20:10:57 +01:00

fix missing in keyword in example that got inadvertently deleted

This commit is contained in:
Dev Chrysalis Dalal 2025-03-26 23:06:33 -05:00
parent 77c2be0eb0
commit 1f23b3f029

View file

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