Files

12 lines
231 B
Swift

import Foundation
extension Profile: Hashable {
public static func == (lhs: Profile, rhs: Profile) -> Bool {
lhs.id == rhs.id
}
public func hash(into hasher: inout Hasher) {
hasher.combine(id)
}
}