Skip to content

Commit 8c1a188

Browse files
author
Greg Parker
authored
Update LifetimeTracked.swift
func == should be static
1 parent 489d9ff commit 8c1a188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/private/StdlibUnittest/LifetimeTracked.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public final class LifetimeTracked {
4242
}
4343

4444
extension LifetimeTracked : Equatable {
45-
public func == (x: LifetimeTracked, y: LifetimeTracked) -> Bool {
45+
public static func == (x: LifetimeTracked, y: LifetimeTracked) -> Bool {
4646
return x.value == y.value
4747
}
4848
}

0 commit comments

Comments
 (0)