PR feedback

This commit is contained in:
Marcelo Fabri
2017-01-04 15:35:07 -02:00
parent 66403ec5fa
commit ccdff37f1d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@
[#1077](https://github.com/realm/SwiftLint/issues/1077)
* Add `compiler_protocol_init` rule that flags usage of initializers
declared in protocols used by compiler such as `ExpressibleByArrayLiteral`
declared in protocols used by the compiler such as `ExpressibleByArrayLiteral`
that shouldn't be called directly. Instead, you should use a literal anywhere
a concrete type conforming to the protocol is expected by the context.
[Marcelo Fabri](https://github.com/marcelofabri)
@@ -64,7 +64,7 @@ public struct CompilerProtocolInitRule: ASTRule, ConfigurationProviderRule {
}
private struct ExpressibleByCompiler {
let protocolName: String
private let protocolName: String
let initCallNames: Set<String>
private let arguments: [[String]]