mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-31 20:07:39 +01:00
Use synthesized Equatable.
This commit is contained in:
parent
b3f0ce2fd3
commit
9f78c3d8a5
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
public struct ArticleStyle: Equatable {
|
struct ArticleStyle: Equatable {
|
||||||
|
|
||||||
static let defaultStyle = ArticleStyle()
|
static let defaultStyle = ArticleStyle()
|
||||||
let path: String?
|
let path: String?
|
||||||
@ -75,8 +75,3 @@ private func stringAtPath(_ f: String) -> String? {
|
|||||||
}
|
}
|
||||||
return nil
|
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
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user