Replace countup(x, y) with x .. y

This commit is contained in:
Clyybber 2019-05-07 12:37:28 +02:00
commit cc28eef38e
35 changed files with 103 additions and 103 deletions

View file

@ -180,7 +180,7 @@ const
]
proc findStr*(a: openArray[string], s: string): int =
for i in countup(low(a), high(a)):
for i in low(a) .. high(a):
if cmpIgnoreStyle(a[i], s) == 0:
return i
result = - 1