mirror of
https://github.com/github/semantic.git
synced 2024-12-26 00:12:29 +03:00
Remove the rest
property.
This commit is contained in:
parent
dc4b9188f1
commit
ec87b3b17f
@ -3,15 +3,6 @@ enum Argument {
|
|||||||
indirect case OutputFlag(Output, Argument)
|
indirect case OutputFlag(Output, Argument)
|
||||||
case Sources(Source, Source)
|
case Sources(Source, Source)
|
||||||
|
|
||||||
private var rest: Argument? {
|
|
||||||
switch self {
|
|
||||||
case let .OutputFlag(_, rest):
|
|
||||||
return rest
|
|
||||||
case .Sources:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var sources: (Source, Source) {
|
var sources: (Source, Source) {
|
||||||
switch self {
|
switch self {
|
||||||
case let .Sources(a, b):
|
case let .Sources(a, b):
|
||||||
|
Loading…
Reference in New Issue
Block a user