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:
parent
a4c6a6ce6d
commit
28e417e1c4
@ -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>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user