Drop redundant Hashable implementation

This commit is contained in:
Davide De Rosa 2022-04-06 23:47:12 +02:00
parent e12e0b3051
commit 02d04185d3
2 changed files with 0 additions and 16 deletions

View File

@ -46,14 +46,6 @@ public struct IPv4Settings: Codable, Equatable, CustomStringConvertible {
self.gateway = gateway self.gateway = gateway
} }
// MARK: Hashable
public func hash(into hasher: inout Hasher) {
hasher.combine(destination)
hasher.combine(mask)
hasher.combine(gateway)
}
// MARK: CustomStringConvertible // MARK: CustomStringConvertible
public var description: String { public var description: String {

View File

@ -46,14 +46,6 @@ public struct IPv6Settings: Codable, Equatable, CustomStringConvertible {
self.gateway = gateway self.gateway = gateway
} }
// MARK: Hashable
public func hash(into hasher: inout Hasher) {
hasher.combine(destination)
hasher.combine(prefixLength)
hasher.combine(gateway)
}
// MARK: CustomStringConvertible // MARK: CustomStringConvertible
public var description: String { public var description: String {