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
path: root/bo/bo.go
diff options
context:
space:
mode:
Diffstat (limited to 'bo/bo.go')
-rw-r--r--bo/bo.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/bo/bo.go b/bo/bo.go
index 08824e00..a833d9fa 100644
--- a/bo/bo.go
+++ b/bo/bo.go
@@ -142,9 +142,7 @@ func (bo *bo) FmtPercent(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- for j := len(bo.percent) - 1; j >= 0; j-- {
- b = append(b, bo.percent[j])
- }
+ b = append(b, bo.percent...)
return b
}