Skip to content

Commit 632a827

Browse files
committed
Address an warning
> Redundant conformance constraint 'Key': 'Equatable'
1 parent 19f7f91 commit 632a827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Task.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ extension Task: Hashable {
8888
}
8989
}
9090

91-
private func ==<Key: Equatable, Value: Equatable>(lhs: [Key: Value]?, rhs: [Key: Value]?) -> Bool {
91+
private func ==<Key, Value: Equatable>(lhs: [Key: Value]?, rhs: [Key: Value]?) -> Bool {
9292
switch (lhs, rhs) {
9393
case let (lhs?, rhs?):
9494
return lhs == rhs

0 commit comments

Comments
 (0)