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