We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd5f3ec commit 3741af3Copy full SHA for 3741af3
Sources/Prometheus/MetricTypes/Histogram.swift
@@ -41,7 +41,7 @@ public struct Buckets: ExpressibleByArrayLiteral {
41
assert(count >= 1, "Bucket.linear needs a count larger than 1")
42
var arr = [Double]()
43
var s = start
44
- for x in 0..<count {
+ for _ in 0..<count {
45
arr.append(s)
46
s += width
47
}
@@ -60,7 +60,7 @@ public struct Buckets: ExpressibleByArrayLiteral {
60
assert(factor > 1, "Bucket.exponential needs a factor larger than 1")
61
62
63
64
65
s *= factor
66
0 commit comments