Replace countup(x, y) with x .. y
This commit is contained in:
parent
f18b3af9d4
commit
cc28eef38e
35 changed files with 103 additions and 103 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue