Showing 1 of 1 total issue
Avoid deeply nested control flow statements. Open
Open
if distance > optimalDistance {
optimalDistance = distance
optimalTask = task
}