build: Fix swiftlint warnings

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander
2021-08-02 13:49:47 +05:30
committed by Jason A. Donenfeld
parent 73c708d902
commit a8226b35d2
8 changed files with 7 additions and 8 deletions
@@ -7,7 +7,7 @@ extension NSTableView {
func dequeueReusableCell<T: NSView>() -> T {
let identifier = NSUserInterfaceItemIdentifier(NSStringFromClass(T.self))
if let cellView = makeView(withIdentifier: identifier, owner: self) {
//swiftlint:disable:next force_cast
// swiftlint:disable:next force_cast
return cellView as! T
}
let cellView = T()