Closed MatrixSenpai closed 4 years ago
Swift's @discardableresult feature is useful for silencing compiler warnings when the result of go() or go(with:) is unused. This also surpresses the need to use _ = cli.go() and is the more "Swifty" way of doing things
@discardableresult
go()
go(with:)
_ = cli.go()
Pinging @jakeheis
If you can remove the committed .swiftpm files, I'll go ahead and merge this!
.swiftpm
@jakeheis done as requested
Looks good, thanks for the contribution!
Swift's
@discardableresult
feature is useful for silencing compiler warnings when the result ofgo()
orgo(with:)
is unused. This also surpresses the need to use_ = cli.go()
and is the more "Swifty" way of doing things