no need for var assignment
Vladimir Bauer
3 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
progress.go
less
more
366
366
s.pool = append(s.pool, b)
367
367
}
368
368
369
switch l := len(s.pool); l {
369
switch len(s.pool) {
370
370
case 0:
371
371
if s.heapUpdated {
372
372
s.updateSyncMatrix()