diff --git a/Sources/ContentIdentifiable.swift b/Sources/ContentIdentifiable.swift index 983be48..60daabe 100644 --- a/Sources/ContentIdentifiable.swift +++ b/Sources/ContentIdentifiable.swift @@ -1,5 +1,5 @@ /// Represents the value that identified for differentiate. -public protocol ConntentIdentifiable { +public protocol ContentIdentifiable { /// A type representing the identifier. associatedtype DifferenceIdentifier: Hashable @@ -7,7 +7,7 @@ public protocol ConntentIdentifiable { var differenceIdentifier: DifferenceIdentifier { get } } -public extension ConntentIdentifiable where Self: Hashable { +public extension ContentIdentifiable where Self: Hashable { /// The `self` value as an identifier for difference calculation. @inlinable var differenceIdentifier: Self { diff --git a/Sources/Differentiable.swift b/Sources/Differentiable.swift index 6c75f33..889561d 100644 --- a/Sources/Differentiable.swift +++ b/Sources/Differentiable.swift @@ -1,2 +1,2 @@ /// Represents a type that can be used for identifying and comparing for equality. -public typealias Differentiable = ConntentIdentifiable & ContentEquatable +public typealias Differentiable = ContentIdentifiable & ContentEquatable