diff --git a/docs/_pages/syntax.md b/docs/_pages/syntax.md index 8e2f9e00..e1683fa5 100644 --- a/docs/_pages/syntax.md +++ b/docs/_pages/syntax.md @@ -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`. diff --git a/docs/_posts/2023-02-02-luau-string-interpolation.md b/docs/_posts/2023-02-02-luau-string-interpolation.md index 3b68909a..90a9eda1 100644 --- a/docs/_posts/2023-02-02-luau-string-interpolation.md +++ b/docs/_posts/2023-02-02-luau-string-interpolation.md @@ -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 }, {