diff --git a/Sources/Cli/main.swift b/Sources/Cli/main.swift index 5416dbe..e74bdc7 100644 --- a/Sources/Cli/main.swift +++ b/Sources/Cli/main.swift @@ -16,12 +16,13 @@ // along with this program. If not, see . import ArgumentParser -import Darwin import Common +import Darwin + @main struct Cli: ParsableCommand { - public func run() throws { - let e = ErrorWithLocation(sourceLocation: SourceLocation(1, 5), withError: "Testing") - print(e.format()) - } + public func run() throws { + let e = ErrorWithLocation(sourceLocation: SourceLocation(1, 5), withError: "Testing") + print(e.format()) + } } diff --git a/Sources/Common/Result.swift b/Sources/Common/Result.swift index da6119a..72e4307 100644 --- a/Sources/Common/Result.swift +++ b/Sources/Common/Result.swift @@ -15,7 +15,6 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . - public enum Result: Equatable { case Ok(OKT) case Error(any Errorable)