File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public class AnyKeyPath: Hashable, _AppendKeyPath {
77
77
}
78
78
}
79
79
80
- public static func == ( a: AnyKeyPath , b: AnyKeyPath ) -> Bool {
80
+ public static func == ( a: AnyKeyPath , b: AnyKeyPath ) -> Bool {
81
81
// Fast-path identical objects
82
82
if a === b {
83
83
return true
@@ -439,9 +439,7 @@ internal struct ComputedPropertyID: Hashable {
439
439
internal var value : Int
440
440
internal var kind : KeyPathComputedIDKind
441
441
442
- internal static func == (
443
- x: ComputedPropertyID , y: ComputedPropertyID
444
- ) -> Bool {
442
+ internal static func == ( x: ComputedPropertyID , y: ComputedPropertyID ) -> Bool {
445
443
return x. value == y. value
446
444
&& x. kind == y. kind
447
445
}
@@ -654,7 +652,7 @@ internal enum KeyPathComponent: Hashable {
654
652
/// The keypath wraps a value in an optional.
655
653
case optionalWrap
656
654
657
- internal static func == ( a: KeyPathComponent , b: KeyPathComponent ) -> Bool {
655
+ internal static func == ( a: KeyPathComponent , b: KeyPathComponent ) -> Bool {
658
656
switch ( a, b) {
659
657
case ( . struct( offset: let a) , . struct( offset: let b) ) ,
660
658
( . class ( offset: let a) , . class ( offset: let b) ) :
You can’t perform that action at this time.
0 commit comments