mirror of
https://github.com/github/semantic.git
synced 2024-12-25 16:02:43 +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)
|
||||
case Sources(Source, Source)
|
||||
|
||||
private var rest: Argument? {
|
||||
switch self {
|
||||
case let .OutputFlag(_, rest):
|
||||
return rest
|
||||
case .Sources:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
var sources: (Source, Source) {
|
||||
switch self {
|
||||
case let .Sources(a, b):
|
||||
|
Loading…
Reference in New Issue
Block a user