1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 07:25:44 +03:00

Categorizable types have categories.

This commit is contained in:
Rob Rix 2015-10-13 21:33:24 -04:00
parent 088624118b
commit 346a4e17c7

View File

@ -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 }
}