1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fmt: make test clearer

This commit is contained in:
joe-conigliaro 2020-12-11 21:09:36 +11:00
parent d1224ffb5a
commit 1626aa5500
No known key found for this signature in database
GPG Key ID: C12F7136C08206F1

View File

@ -1,4 +1,8 @@
pub fn reduce(a []int, iter fn (int, int) int, accum_start int) int {
struct Row{
id int
}
pub fn (a []Row) reduce(iter fn (int, int) int, accum_start int) int {
iter(accum_start)
}