From cbc99c32222cb1cba3efe3d3cc7146d9f8879a14 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Tue, 4 May 2021 18:57:48 -0700 Subject: [PATCH] Update syntax.md Fix typo: `nunber` -> `number` Fixes #35. --- docs/_pages/syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_pages/syntax.md b/docs/_pages/syntax.md index 0ae3cba..1e864ec 100644 --- a/docs/_pages/syntax.md +++ b/docs/_pages/syntax.md @@ -129,7 +129,7 @@ To return no values or more than one, you need to wrap the return type position ```lua local no_returns: (number, string) -> () -local returns_boolean_and_string: (nunber, string) -> (boolean, string) +local returns_boolean_and_string: (number, string) -> (boolean, string) function foo(x: number, y: number): (number, string) return x + y, tostring(x) .. tostring(y)