Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ffried committed Mar 12, 2024
1 parent 1f58448 commit 9199933
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ extension CGColor {
func _requireCompontens(in range: some RangeExpression<Int>,
file: StaticString = #file,
line: UInt = #line) -> Array<CGFloat> {
guard range.contains(numberOfComponents), let components = components
guard range.contains(numberOfComponents), let components
else { fatalError("CGColor has no or an invalid number of components: \(self)", file: file, line: line) }
return components
}
Expand Down

0 comments on commit 9199933

Please sign in to comment.