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:
parent
d1224ffb5a
commit
1626aa5500
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user