Codebase list golang-github-vbauerster-mpb / 1c17f0c
simplify with gofmt -s Vladimir Bauer 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
427427 fmtBytes := convertFmtRunesToBytes(s.format)
428428
429429 if s.simpleSpinner != nil {
430 for _, block := range [...][]byte{fmtBytes[rLeft], []byte{s.simpleSpinner()}, fmtBytes[rRight]} {
430 for _, block := range [...][]byte{fmtBytes[rLeft], {s.simpleSpinner()}, fmtBytes[rRight]} {
431431 barBlock = append(barBlock, block...)
432432 }
433433 return concatenateBlocks(buf, prependBlock, leftSpace, barBlock, rightSpace, appendBlock)