1
1
mirror of https://github.com/github/semantic.git synced 2024-11-25 21:43:07 +03:00

Section mark for Category comparisons.

This commit is contained in:
Rob Rix 2015-10-09 08:31:10 -04:00
parent 9e51c130c4
commit b6f6042e10

View File

@ -43,6 +43,9 @@ public func == (left: Category, right: Category) -> Bool {
return left.tag == right.tag return left.tag == right.tag
} }
// MARK: - Comparable
public func < (left: Category, right: Category) -> Bool { public func < (left: Category, right: Category) -> Bool {
return left.tag < right.tag return left.tag < right.tag
} }