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