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 'nus/nus.go')
-rw-r--r--nus/nus.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/nus/nus.go b/nus/nus.go
index c56c34c0..65cdf564 100644
--- a/nus/nus.go
+++ b/nus/nus.go
@@ -142,9 +142,7 @@ func (nus *nus) FmtPercent(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- for j := len(nus.percent) - 1; j >= 0; j-- {
- b = append(b, nus.percent[j])
- }
+ b = append(b, nus.percent...)
return b
}