Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 26af98b

Browse files
joeroccarnystrom
authored andcommitted
removed unneccessary equatable comformance from RepositoryLabel (#743)
1 parent 1ef1796 commit 26af98b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Classes/Models/RepositoryLabel.swift

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import Foundation
1010
import IGListKit
1111

12-
final class RepositoryLabel: ListDiffable, Equatable {
12+
final class RepositoryLabel: ListDiffable {
1313

1414
let color: String
1515
let name: String
@@ -30,12 +30,5 @@ final class RepositoryLabel: ListDiffable, Equatable {
3030
guard let object = object as? RepositoryLabel else { return false }
3131
return color == object.color
3232
}
33-
34-
//MARK: Equatable
35-
36-
static func ==(lhs: RepositoryLabel, rhs: RepositoryLabel) -> Bool {
37-
return lhs.name == rhs.name
38-
&& lhs.color == rhs.color
39-
}
4033

4134
}

0 commit comments

Comments
 (0)