Skip to content

Commit 403b46c

Browse files
committed
stdlib: simplify code
1 parent b96e06d commit 403b46c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: stdlib/public/core/Prespecialized.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ struct _Prespecialize {
2929
a[0] = a[j]
3030
}
3131

32-
for i1 in 0..<a.count {
33-
for i2 in 0..<a.count{
32+
for i1 in a.indices {
33+
for i2 in a.indices {
3434
a[i1] = a[i2]
3535
}
3636
}

0 commit comments

Comments
 (0)