From 5aba1f8a84d5fcace74ee31c1ff43b403b4d4f0f Mon Sep 17 00:00:00 2001 From: "Daniel P H Fox (Roblox)" Date: Mon, 4 Nov 2024 16:04:02 -0800 Subject: [PATCH] Fix Luau highlighting --- docs/syntax-named-function-type-returns.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/syntax-named-function-type-returns.md b/docs/syntax-named-function-type-returns.md index 9e0798b..d452a36 100644 --- a/docs/syntax-named-function-type-returns.md +++ b/docs/syntax-named-function-type-returns.md @@ -100,8 +100,6 @@ local blue, red = doStuff() receiveStuff(doStuff()) ``` - - ## Drawbacks There is a philosophical disagreement over the purpose of the Luau static type system: @@ -141,7 +139,7 @@ poem(blue, red) --> roses are blue violets are red The same principle also applies to multiple assignment in existing parts of Luau: -``` +```Lua for value, key in pairs({"hello", "world"}) do print(value) --> 1 2 end