summaryrefslogtreecommitdiffhomepage
path: root/lua.html.markdown
diff options
context:
space:
mode:
authorCraig Roddin <craig.roddin@gmail.com>2013-10-07 12:33:10 -0600
committerCraig Roddin <craig.roddin@gmail.com>2013-10-07 12:33:10 -0600
commit8cbabf82b8ff938907ad6fc86327706668544c89 (patch)
tree18a2d7da7757078991c4ed1896214550721d5024 /lua.html.markdown
parent24514c9de1f4cbf0e84a88cb665060a376334a1c (diff)
Fixed spelling of trig function "sin"
Diffstat (limited to 'lua.html.markdown')
-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