Apply suggestions from code review

Co-authored-by: Alan Jeffrey <403333+asajeffrey@users.noreply.github.com>
This commit is contained in:
vegorov-rbx 2023-02-03 10:26:47 -08:00 committed by GitHub
parent acfe852777
commit 716bb7c3eb
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -222,7 +222,7 @@ The default iteration order for tables is specified to be consecutive for elemen
## String interpolation
Luau adds additional way to define string values that allows you to place runtime expressions directly inside specific spots of the literal.
Luau adds an additional way to define string values that allows you to place runtime expressions directly inside specific spots of the literal.
This is a more ergonomic alternative over using `string.format` or `("literal"):format`.

View file

@ -15,7 +15,7 @@ print(`The lock combination is {table.concat(combos)}. Again, {table.concat(comb
--> The lock combination is 27185. Again, 2, 7, 1, 8, 5.
```
String interpolation also composes well with `__tostring` metamethod.
String interpolation also composes well with the `__tostring` metamethod.
```lua
local balance = setmetatable({ value = 500 }, {