Codebase list golang-github-vbauerster-mpb / ef5e8c5
comment why early return is ok Vladimir Bauer 3 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
340340 b := heap.Pop(&s.bHeap).(*Bar)
341341 frame := <-b.frameCh
342342 if frame.err != nil {
343 // b.frameCh is buffered it's ok to return here
343344 return frame.err
344345 }
345346 var usedRows int