We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 521ebad commit d3e5651Copy full SHA for d3e5651
Sources/Differentiator/SectionModel.swift
@@ -37,7 +37,12 @@ extension SectionModel
37
}
38
39
extension SectionModel
40
- : Equatable where Section: Equatable, ItemType: Equatable {}
+ : Equatable where Section: Equatable, ItemType: Equatable {
41
+ public static func == (lhs: SectionModel, rhs: SectionModel) -> Bool {
42
+ return lhs.model == rhs.model
43
+ && lhs.items == rhs.items
44
+ }
45
+}
46
47
extension SectionModel {
48
public init(original: SectionModel<Section, Item>, items: [Item]) {
0 commit comments