mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-16 11:30:54 +01:00
Use synthesized Equatable, Hashable.
This commit is contained in:
parent
30972ef435
commit
96f118853d
@ -23,16 +23,4 @@ final class FeedListFolder: Hashable, DisplayNameProvider {
|
||||
self.name = name
|
||||
self.feeds = feeds
|
||||
}
|
||||
|
||||
// MARK: - Hashable
|
||||
|
||||
public func hash(into hasher: inout Hasher) {
|
||||
hasher.combine(name)
|
||||
}
|
||||
|
||||
// MARK: - Equatable
|
||||
|
||||
static func ==(lhs: FeedListFolder, rhs: FeedListFolder) -> Bool {
|
||||
return lhs.name == rhs.name && lhs.feeds == rhs.feeds
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user