Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
break
instead of next
in AD::Journey::Formatter#match_route
The array is sorted in descending order, so there is no point in iterating further if we met a negative item - all the rest will be negative too.
- Loading branch information