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