Skip to content

Commit

Permalink
Use interpolation instead of '+' concatenation for problematic expres…
Browse files Browse the repository at this point in the history
…sion (#4123)
  • Loading branch information
Jumhyn committed Mar 18, 2020
1 parent 847e822 commit 56effcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Charts/Data/Implementations/ChartBaseDataSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ open class ChartBaseDataSet: NSObject, IChartDataSet, NSCopying
open override var debugDescription: String
{
return (0..<entryCount).reduce(description + ":") {
$0 + "\n" + (self.entryForIndex($1)?.description ?? "")
"\($0)\n\(self.entryForIndex($1)?.description ?? "")"
}
}

Expand Down

0 comments on commit 56effcf

Please sign in to comment.