Skip to content

Commit

Permalink
Merge pull request #9 from Aloisius/public-mailbox-vars
Browse files Browse the repository at this point in the history
Make mailbox struct members public
  • Loading branch information
ekscrypto authored Mar 17, 2024
2 parents e56651c + 41b4c3b commit 521eaed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/SwiftEmailValidator/EmailSyntaxValidator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import SwiftPublicSuffixList
public final class EmailSyntaxValidator {

public struct Mailbox {
let email: String
let localPart: LocalPart
let host: Host
public let email: String
public let localPart: LocalPart
public let host: Host

public enum LocalPart: Equatable {
case dotAtom(String)
Expand Down

0 comments on commit 521eaed

Please sign in to comment.