Digital PCT265 story PCT-135: 'curent' comment typo.

This commit is contained in:
Hedden, Kyle Matthew 2024-05-28 16:23:59 -04:00
parent 05df4ad6ef
commit 220b8530da

View File

@ -52,7 +52,7 @@ extension ModelProtocol {
}
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
}
@ -63,7 +63,7 @@ extension ModelComparisonProtocol {
}
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 {
guard let self = self as? ModelComparisonProtocol else {
return model == nil
@ -86,7 +86,7 @@ public extension 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 {
guard let self = self as? [ModelComparisonProtocol] else {
return models == nil