Fix various SwiftLint warnings.

This commit is contained in:
Brent Simmons committed 2026-01-01 16:17:54 -08:00
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.