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