Use synthesized Equatable, Hashable.

This commit is contained in:
Brent Simmons 2018-08-25 16:34:25 -07:00
parent 30972ef435
commit 96f118853d
1 changed files with 0 additions and 12 deletions

View File

@ -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
}
}