1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 00:44:57 +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
}
// MARK: - Comparable
public func < (left: Category, right: Category) -> Bool {
return left.tag < right.tag
}