Skip to content

Commit 56effcf

Browse files
authored
Use interpolation instead of '+' concatenation for problematic expression (#4123)
1 parent 847e822 commit 56effcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Charts/Data/Implementations/ChartBaseDataSet.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ open class ChartBaseDataSet: NSObject, IChartDataSet, NSCopying
403403
open override var debugDescription: String
404404
{
405405
return (0..<entryCount).reduce(description + ":") {
406-
$0 + "\n" + (self.entryForIndex($1)?.description ?? "")
406+
"\($0)\n\(self.entryForIndex($1)?.description ?? "")"
407407
}
408408
}
409409

0 commit comments

Comments
 (0)