Synthesize Equatable conformance for Signature

This commit is contained in:
Matt Rubin 2019-04-12 16:08:18 -04:00
parent c452b80da3
commit df7bd3c2a3
2 changed files with 1 additions and 7 deletions

View File

@ -52,6 +52,7 @@ opt_in_rules:
- redundant_nil_coalescing
- redundant_type_annotation
- sorted_first_last
- static_operator
- strict_fileprivate
- switch_case_on_newline
- toggle_bool

View File

@ -83,13 +83,6 @@ extension Signature: Hashable {
}
}
public func == (lhs: Signature, rhs: Signature) -> Bool {
return lhs.name == rhs.name
&& lhs.email == rhs.email
&& lhs.time == rhs.time
&& lhs.timeZone == rhs.timeZone
}
/// A git commit.
public struct Commit: ObjectType, Hashable {
public static let type = GIT_OBJ_COMMIT