Skip to content

Commit 3b49a19

Browse files
committed
Merge pull request #20 from inkyfox/typo
Fixed a typo on the struct name of `IdentitifiableValue` to `IdentifiableValue`
2 parents 890a5d7 + 640a9bf commit 3b49a19

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/DataSources/AnimatableSectionModel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public struct AnimatableSectionModel<Section: Hashable, ItemType: Hashable>
1212
: Hashable
1313
, AnimatableSectionModelType
1414
, CustomStringConvertible {
15-
public typealias Item = IdentitifiableValue<ItemType>
15+
public typealias Item = IdentifiableValue<ItemType>
1616
public typealias Identity = Section
1717

1818
public var model: Section
@@ -25,7 +25,7 @@ public struct AnimatableSectionModel<Section: Hashable, ItemType: Hashable>
2525

2626
public init(model: Section, items: [ItemType]) {
2727
self.model = model
28-
self.items = items.map(IdentitifiableValue.init)
28+
self.items = items.map(IdentifiableValue.init)
2929
}
3030

3131
public init(original: AnimatableSectionModel, items: [Item]) {

Sources/DataSources/IdentifiableValue.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import Foundation
1010

11-
public struct IdentitifiableValue<Value: Hashable>
11+
public struct IdentifiableValue<Value: Hashable>
1212
: IdentifiableType
1313
, Equatable
1414
, CustomStringConvertible
@@ -30,6 +30,6 @@ public struct IdentitifiableValue<Value: Hashable>
3030
}
3131
}
3232

33-
public func == <V: Hashable>(lhs: IdentitifiableValue<V>, rhs: IdentitifiableValue<V>) -> Bool {
33+
public func == <V: Hashable>(lhs: IdentifiableValue<V>, rhs: IdentifiableValue<V>) -> Bool {
3434
return lhs.value == rhs.value
3535
}

0 commit comments

Comments
 (0)