Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
darinf committed Apr 6, 2024
1 parent 5daa607 commit 7d55b20
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions Sources/FirebaseAuth/FirebaseAuthError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,3 @@ extension AuthErrorCode {
self.init(rawValue: code.rawValue)
}
}

/*
public func ~= (code: AuthErrorCode.Code, error: any Error) -> Bool {
guard let error = error as? AuthErrorCode else { return false }
return error.code == code
}
*/
7 changes: 0 additions & 7 deletions Sources/FirebaseFirestore/FirestoreErrorCode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,3 @@ extension FirestoreErrorCode {
self.init(rawValue: code.rawValue)
}
}

/*
public func ~= (code: FirestoreErrorCode.Code, error: any Error) -> Bool {
guard let error = error as? FirestoreErrorCode else { return false }
return error.code == code
}
*/

0 comments on commit 7d55b20

Please sign in to comment.