Diff

util/array.lua @ 7700:0d70410efdcf

util.array: Remove unused arguments [luacheck]
author Kim Alvefur <zash@zash.se>
date Tue, 18 Oct 2016 15:16:30 +0200
parent 7699:9c40d0be2295
child 7976:2a7ef5fcaa77
line wrap: on
line diff
--- a/util/array.lua	Tue Oct 18 15:16:18 2016 +0200
+++ b/util/array.lua	Tue Oct 18 15:16:30 2016 +0200
@@ -106,7 +106,7 @@
 end
 
 --- These methods only mutate the array
-function array_methods:shuffle(outa, ina)
+function array_methods:shuffle()
 	local len = #self;
 	for i = 1, #self do
 		local r = math_random(i, len);