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:
parent
77c2be0eb0
commit
1f23b3f029
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue