mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Categorizable types have categories
.
This commit is contained in:
parent
088624118b
commit
346a4e17c7
@ -56,4 +56,6 @@ public func < (left: Category, right: Category) -> Bool {
|
||||
// MARK: - Categorizable
|
||||
|
||||
/// A type whose values belong to a set of categories.
|
||||
public protocol Categorizable {}
|
||||
public protocol Categorizable {
|
||||
var categories: Set<Category> { get }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user