Skip to content

Commit

Permalink
CMOB-0: fix swiftlint error (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorledingham authored Aug 15, 2018
1 parent d09c4ed commit 74d4407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TokenTextViewTextStorage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class TokenTextViewTextStorage: NSTextStorage {
}

fileprivate func attributeTextAndRange(_ attributeName: NSAttributedStringKey, attributeValue: String) -> (String, NSRange)? {
var result: (String, NSRange)? = nil
var result: (String, NSRange)?
enumerateAttribute(attributeName,
in: NSRange(location: 0, length: length),
options: NSAttributedString.EnumerationOptions(rawValue: 0),
Expand Down

0 comments on commit 74d4407

Please sign in to comment.