fmt: make test clearer

pull/7270/head
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
1 changed files with 5 additions and 1 deletions

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)
}