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/or/or.go
diff options
context:
space:
mode:
Diffstat (limited to 'or/or.go')
-rw-r--r--or/or.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/or/or.go b/or/or.go
index d1d89fd2..2d4641e9 100644
--- a/or/or.go
+++ b/or/or.go
@@ -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
}