diff options
Diffstat (limited to 'or')
-rw-r--r-- | or/or.go | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -158,9 +158,7 @@ func (or *or) FmtPercent(num float64, v uint64) []byte { b[i], b[j] = b[j], b[i] } - for j := len(or.percent) - 1; j >= 0; j-- { - b = append(b, or.percent[j]) - } + b = append(b, or.percent...) return b } |