Use synthesized Equatable.

This commit is contained in:
Brent Simmons 2018-08-25 16:56:59 -07:00
parent b3f0ce2fd3
commit 9f78c3d8a5

View File

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