Skip to content

Commit dace09c

Browse files
phimagee-marchand
authored andcommitted
swiftlint autocorrect
1 parent 7d10004 commit dace09c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Sources/KeychainPreferences.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ open class KeychainPreferences: PreferencesAdapter {
118118
static let context = String(kSecUseAuthenticationContext)
119119
static let ui = String(kSecUseAuthenticationUI)
120120

121-
//swiftlint:disable:next type_name
121+
// swiftlint:disable:next type_name
122122
struct UI {
123123
static let allow = String(kSecUseAuthenticationUIAllow)
124124
static let fail = String(kSecUseAuthenticationUIFail)
@@ -747,7 +747,7 @@ extension KeychainPreferences.Attribute {
747747
public var accessControl: SecAccessControl? {
748748
if #available(OSX 10.10, *) {
749749
if let accessControl = attributes[KeychainPreferences.Attribute.accessControl] {
750-
//swiftlint:disable:next force_cast
750+
// swiftlint:disable:next force_cast
751751
return (accessControl as! SecAccessControl)
752752
}
753753
return nil

Sources/PreferenceOperators.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public func !=<T: LogicalOperationsType> ( preference: inout MutablePreference<T
200200
preference.value = !right()
201201
}
202202

203-
/// MARK: Conjunctive
203+
// MARK: Conjunctive
204204
public protocol Conjunctive {
205205
static func && (left: Self, right: @autoclosure () throws -> Self) rethrows -> Self // AND
206206
}
@@ -221,7 +221,7 @@ public func &&=<T> (preference: inout MutablePreference<T>, right: @autoclosure
221221
try preference.value = c && right()
222222
}
223223

224-
/// MARK: Disjunctive
224+
// MARK: Disjunctive
225225
public protocol Disjunctive {
226226
static func || (left: Self, right: @autoclosure () throws -> Self) rethrows -> Self // OR
227227
}

Sources/UserDefaults+Prephirences.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ extension Foundation.UserDefaults: MutablePreferencesType {
3636
return self.dictionaryRepresentation()
3737
}
3838

39-
//subscript access
39+
// subscript access
4040
public subscript(key: PreferenceKey) -> PreferenceObject? {
4141
get {
4242
return self.object(forKey: key)

0 commit comments

Comments
 (0)