mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix warning in benchmark
warning: immutable value 'i' was never used; consider replacing with '_' or removing it
for i in 0...N {
^
This commit is contained in:
@@ -32,7 +32,7 @@ public let benchmarks = [
|
||||
|
||||
@inline(never)
|
||||
public func run_ReadAccessor(_ N: Int) {
|
||||
for i in 0...N {
|
||||
for _ in 0...N {
|
||||
for j in 0..<100 {
|
||||
let row = vec![j];
|
||||
for k in 0..<1_000 {
|
||||
|
||||
Reference in New Issue
Block a user