Skip to content

Commit

Permalink
Fix empty count swiftlint warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
schwa committed Dec 9, 2024
1 parent dc2f81d commit c3306fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/MetalSupport/TypedMTLBuffer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public struct TypedMTLBuffer<Element>: Sendable {
}

public var isEmpty: Bool {
// swiftlint:disable:next empty_count
count == 0
}

Expand Down

0 comments on commit c3306fa

Please sign in to comment.