Skip to content

Commit c3990f5

Browse files
committed
[stdlib] Fix func signature spacing
- standardizes spacing of an operator(==) func signature in KeyPath.swift
1 parent 538ee30 commit c3990f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/core/KeyPath.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public class AnyKeyPath: Hashable, _AppendKeyPath {
7777
}
7878
}
7979

80-
public static func ==(a: AnyKeyPath, b: AnyKeyPath) -> Bool {
80+
public static func == (a: AnyKeyPath, b: AnyKeyPath) -> Bool {
8181
// Fast-path identical objects
8282
if a === b {
8383
return true
@@ -439,7 +439,7 @@ internal struct ComputedPropertyID: Hashable {
439439
internal var value: Int
440440
internal var kind: KeyPathComputedIDKind
441441

442-
internal static func ==(
442+
internal static func == (
443443
x: ComputedPropertyID, y: ComputedPropertyID
444444
) -> Bool {
445445
return x.value == y.value
@@ -654,7 +654,7 @@ internal enum KeyPathComponent: Hashable {
654654
/// The keypath wraps a value in an optional.
655655
case optionalWrap
656656

657-
internal static func ==(a: KeyPathComponent, b: KeyPathComponent) -> Bool {
657+
internal static func == (a: KeyPathComponent, b: KeyPathComponent) -> Bool {
658658
switch (a, b) {
659659
case (.struct(offset: let a), .struct(offset: let b)),
660660
(.class (offset: let a), .class (offset: let b)):

0 commit comments

Comments
 (0)