mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-28 10:30:14 +01:00
Use synthesized Equatable.
This commit is contained in:
parent
b3f0ce2fd3
commit
9f78c3d8a5
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user