1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

Make the implicit constructor explicit.

This commit is contained in:
Rob Rix 2015-10-30 14:49:15 -04:00
parent a4c6a6ce6d
commit 28e417e1c4

View File

@ -1,4 +1,9 @@
struct Info: Categorizable, CustomJSONConvertible, Equatable { struct Info: Categorizable, CustomJSONConvertible, Equatable {
init(range: Range<Int>, categories: Set<String>) {
self.range = range
self.categories = categories
}
let range: Range<Int> let range: Range<Int>