Use auto equatable

This commit is contained in:
David Jennes
2018-09-20 01:29:38 +02:00
parent 831cdf5f36
commit 1704cd2ddf
3 changed files with 0 additions and 26 deletions

View File

@@ -37,11 +37,6 @@ public struct TemplateSyntaxError : Error, Equatable, CustomStringConvertible {
public init(_ description: String) {
self.init(reason: description)
}
public static func ==(lhs:TemplateSyntaxError, rhs:TemplateSyntaxError) -> Bool {
return lhs.description == rhs.description && lhs.token == rhs.token && lhs.stackTrace == rhs.stackTrace
}
}
extension Error {