mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 10:22:35 +00:00
Fix various SwiftLint warnings.
This commit is contained in:
1 parent
61e109a0d5
commit
0b429ae259
15 files changed
+44
-85
No files matched your search
@@ -175,10 +175,11 @@ extension NSAttributedString {
|
||||
|
||||
entity.append(entitychar)
|
||||
|
||||
if (entitychar == ";") { break }
|
||||
if entitychar == ";" {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
result.mutableString.append(entity.decodedEntity)
|
||||
|
||||
if let lastchar = lastchar { result.mutableString.append(String(lastchar)) }
|
||||
@@ -252,7 +253,6 @@ extension NSAttributedString {
|
||||
|
||||
self.init(attributedString: result)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// This is a very, very basic implementation that only covers our needs.
|
||||
|
||||
Reference in new issue
Block a user