fixed filter_inplace doesn't return anything, thanks sheepolution

This commit is contained in:
Max Cahill 2021-10-12 11:51:17 +11:00
parent 0ebe5b1e9f
commit eae1849c16

View File

@ -111,7 +111,7 @@ function functional.filter_inplace(t, f)
t[i] = nil
end
end
return r
return t
end
-- complement of filter