mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Use synthesized Equatable.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
public struct ArticleStyle: Equatable {
|
||||
struct ArticleStyle: Equatable {
|
||||
|
||||
static let defaultStyle = ArticleStyle()
|
||||
let path: String?
|
||||
@@ -75,8 +75,3 @@ private func stringAtPath(_ f: String) -> String? {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
public func ==(lhs: ArticleStyle, rhs: ArticleStyle) -> Bool {
|
||||
|
||||
return lhs.path == rhs.path && lhs.template == rhs.template && lhs.css == rhs.css && lhs.info == rhs.info
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user