Skip to content

Commit 1a4a934

Browse files
chore: Parameter predicate typo
1 parent 7f2ed2c commit 1a4a934

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MailCore/Models/Recipient.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ public final class RecipientsList: EmbeddedObject, Encodable {
6161
self.recipients.append(objectsIn: recipients)
6262
}
6363

64-
public func contains(where precidate: (Recipient) -> Bool) -> Bool {
65-
return recipients.contains(where: precidate)
64+
public func contains(where predicate: (Recipient) -> Bool) -> Bool {
65+
return recipients.contains(where: predicate)
6666
}
6767

6868
public func encode(to encoder: any Encoder) throws {

0 commit comments

Comments
 (0)