summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2013-10-09 09:20:15 -0700
committerAdam Bard <github@adambard.com>2013-10-09 09:20:15 -0700
commit87dd1ef8dd4970208bf8cf84b10d73138fb71f1c (patch)
tree58f0dd02e92653d649249ba0085e026e1e28370d
parent7524dc9727807fd95a2dfe4e796577077d019784 (diff)
parent8cbabf82b8ff938907ad6fc86327706668544c89 (diff)
Merge pull request #378 from croddin/patch-1
[Lua/en] Fixed spelling of trig function "sin"
-rw-r--r--lua.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua.html.markdown b/lua.html.markdown
index 369de908..27ce105b 100644
--- a/lua.html.markdown
+++ b/lua.html.markdown
@@ -125,7 +125,7 @@ f = function (x) return x * x end
-- And so are these:
local function g(x) return math.sin(x) end
-local g = function(x) return math.xin(x) end
+local g = function(x) return math.sin(x) end
-- Equivalent to local function g(x)..., except referring
-- to g in the function body won't work as expected.
local g; g = function (x) return math.sin(x) end