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