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