mirror of
https://github.com/github/semantic.git
synced 2024-11-29 11:02:26 +03:00
Don’t bother destructuring tags.
This commit is contained in:
parent
ba650f8080
commit
aef4c32754
@ -25,8 +25,5 @@ public enum Category: AlgebraicHashable, CustomDebugStringConvertible {
|
||||
}
|
||||
|
||||
public func == (left: Category, right: Category) -> Bool {
|
||||
switch (left, right) {
|
||||
case let (.Tag(a), .Tag(b)):
|
||||
return a == b
|
||||
}
|
||||
return left.tag == right.tag
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user