mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-22 06:04:35 +00:00
fixed filter_inplace doesn't return anything, thanks sheepolution
This commit is contained in:
parent
0ebe5b1e9f
commit
eae1849c16
@ -111,7 +111,7 @@ function functional.filter_inplace(t, f)
|
||||
t[i] = nil
|
||||
end
|
||||
end
|
||||
return r
|
||||
return t
|
||||
end
|
||||
|
||||
-- complement of filter
|
||||
|
Loading…
Reference in New Issue
Block a user