From e2f3356e2404641840283b8d439137e58604346b Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 10 Mar 2016 17:49:46 +0000 Subject: util.iterators: Return initial var from upstream iterator [luacheck] --- util/iterators.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/iterators.lua b/util/iterators.lua index 92f75189..99b5f090 100644 --- a/util/iterators.lua +++ b/util/iterators.lua @@ -93,7 +93,7 @@ function it.head(n, f, s, var) end c = c + 1; return f(s, var); - end, s; + end, s, var; end -- Skip the first n items an iterator returns -- cgit v1.2.3