@@ -342,9 +342,7 @@ And with that, [SE-0283](https://github.com/apple/swift-evolution/blob/main/prop
342
342
``` swift
343
343
extension < Element ...> (Element ... ): Equatable where Element : Equatable {
344
344
public static func == (lhs : Self , rhs : Self ) -> Bool {
345
- let leftElement = lhs...
346
- let rightElement = rhs...
347
- for (left, right) in (leftElement, rightElement)... {
345
+ for (left, right) in (lhs.element , rhs.element )... {
348
346
guard left == right else { return false }
349
347
}
350
348
return true
@@ -353,9 +351,7 @@ extension <Element...> (Element...): Equatable where Element: Equatable {
353
351
354
352
extension< Element ...> (Element ... ): Comparable where Element : Comparable {
355
353
public static func < (lhs : Self , rhs : Self ) -> Bool {
356
- let leftElement = lhs...
357
- let rightElement = rhs...
358
- for (left, right) in (leftElement, rightElement)... {
354
+ for (left, right) in (lhs.element , rhs.element )... {
359
355
if left < right { return true }
360
356
if left > right { break }
361
357
}
@@ -365,7 +361,7 @@ extension<Element...> (Element...): Comparable where Element: Comparable {
365
361
366
362
extension< Element ...> (Element ... ): Hashable where Element : Hashable {
367
363
public func hash (into hasher : inout Hasher) {
368
- for element in self ... {
364
+ for element in self .element . .. {
369
365
hasher.combine (element)
370
366
}
371
367
}
0 commit comments