mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
rolled back the error of the previous author
parent
0265ec0d71
commit
d28c2eed0a
@ -182,7 +182,7 @@ batchSize := 3
|
||||
var batches [][]int
|
||||
|
||||
for batchSize < len(actions) {
|
||||
actions, batches = actions[batchSize:], append(batches, actions[0:batchSize])
|
||||
actions, batches = actions[batchSize:], append(batches, actions[0:batchSize:batchSize])
|
||||
}
|
||||
batches = append(batches, actions)
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user