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.
2 parents ee57c4b + 7275aa2 commit 12e670aCopy full SHA for 12e670a
stdlib/public/core/Stride.swift
@@ -135,9 +135,9 @@ public struct StrideToGenerator<Element : Strideable> : GeneratorType {
135
if stride > 0 ? current >= end : current <= end {
136
return nil
137
}
138
- let ret = current
+ let result = current
139
current += stride
140
- return ret
+ return result
141
142
143
@@ -209,9 +209,9 @@ public struct StrideThroughGenerator<Element : Strideable> : GeneratorType {
209
210
211
212
213
214
215
216
217
0 commit comments