Digital PCT265 story PCT-135: 'curent' comment typo.
This commit is contained in:
parent
05df4ad6ef
commit
220b8530da
@ -52,7 +52,7 @@ extension ModelProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public protocol ModelComparisonProtocol {
|
public protocol ModelComparisonProtocol {
|
||||||
/// Shallow checks if the curent model is equal to another model. Defaults to false unless implemented otherwise.
|
/// Shallow checks if the current model is equal to another model. Defaults to false unless implemented otherwise.
|
||||||
func isEqual(to model: ModelComparisonProtocol) -> Bool
|
func isEqual(to model: ModelComparisonProtocol) -> Bool
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -63,7 +63,7 @@ extension ModelComparisonProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public extension Optional {
|
public extension Optional {
|
||||||
/// Checks if the curent model is equal to another model.
|
/// Checks if the current model is equal to another model.
|
||||||
func isEqual(to model: ModelComparisonProtocol?) -> Bool {
|
func isEqual(to model: ModelComparisonProtocol?) -> Bool {
|
||||||
guard let self = self as? ModelComparisonProtocol else {
|
guard let self = self as? ModelComparisonProtocol else {
|
||||||
return model == nil
|
return model == nil
|
||||||
@ -86,7 +86,7 @@ public extension Collection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public extension Optional where Wrapped: Collection {
|
public extension Optional where Wrapped: Collection {
|
||||||
/// Checks if the curent model is equal to another model.
|
/// Checks if the current model is equal to another model.
|
||||||
func isEqual(to models: [ModelComparisonProtocol]?) -> Bool {
|
func isEqual(to models: [ModelComparisonProtocol]?) -> Bool {
|
||||||
guard let self = self as? [ModelComparisonProtocol] else {
|
guard let self = self as? [ModelComparisonProtocol] else {
|
||||||
return models == nil
|
return models == nil
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user