Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcocanc committed Oct 22, 2019
1 parent 1594aee commit 29e75af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Sources/ContentIdentifiable.swift
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/// Represents the value that identified for differentiate.
public protocol ConntentIdentifiable {
public protocol ContentIdentifiable {
/// A type representing the identifier.
associatedtype DifferenceIdentifier: Hashable

/// An identifier value for difference calculation.
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 {
Expand Down
2 changes: 1 addition & 1 deletion Sources/Differentiable.swift
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 29e75af

Please sign in to comment.