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