Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/locales.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sbp/sbp.go')
-rw-r--r--sbp/sbp.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbp/sbp.go b/sbp/sbp.go
index b2f72508..8dd5af7b 100644
--- a/sbp/sbp.go
+++ b/sbp/sbp.go
@@ -142,9 +142,7 @@ func (sbp *sbp) FmtPercent(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- for j := len(sbp.percent) - 1; j >= 0; j-- {
- b = append(b, sbp.percent[j])
- }
+ b = append(b, sbp.percent...)
return b
}