Lint: Colons should be next to the identifier when specifying a type

This commit is contained in:
Matt Rubin 2016-12-18 00:26:56 -05:00
parent 686a41fbb7
commit 66cf46d67d
2 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,4 @@
disabled_rules:
- colon
- control_statement
- file_length
- force_cast

View File

@ -10,7 +10,7 @@ import libgit2
/// The flags defining how a checkout should be performed.
/// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
public struct CheckoutStrategy : OptionSet {
public struct CheckoutStrategy: OptionSet {
private let value: UInt
// MARK: - Initialization