From e473d5d825adb19cb7ced889face9b39ee9a1aa4 Mon Sep 17 00:00:00 2001 From: "Daniel P H Fox (Roblox)" Date: Sat, 25 Jan 2025 16:20:30 -0800 Subject: [PATCH] Update syntax-multiple-index.md --- docs/syntax-multiple-index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/syntax-multiple-index.md b/docs/syntax-multiple-index.md index 4700456..df20120 100644 --- a/docs/syntax-multiple-index.md +++ b/docs/syntax-multiple-index.md @@ -285,7 +285,7 @@ There is nothing functionally wrong with this, so the proposal doesn't discard t Renaming identifiers was considered with implicit keys, and should be possible with full backwards compatibility, and support for arbitrary expressions. ```Lua -amelia in "amy", beth in "bethany", carol in "caroline" = nicknames[] +amy in "amelia", beth in "bethany", carol in "caroline" = nicknames[] ``` Notably, this would allow the use of implicit keys with only some keys renamed, useful for avoiding namespace collisions: @@ -379,4 +379,4 @@ Today in Roblox, every index doubly works with camel case, such as `part.positio local { .position } = Workspace:Raycast(etc) ``` -...which would work as you expect, but rely on this deprecated style. \ No newline at end of file +...which would work as you expect, but rely on this deprecated style.