diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-11-05 11:05:46 +0100 |
---|---|---|
committer | Miran <narimiran@disroot.org> | 2019-11-05 11:05:46 +0100 |
commit | 3ba3307d61319984e3e8b1061f38402d53cf8f60 (patch) | |
tree | d01213de137a5f3216b5c8cf4cacb16c06c686e6 /tests/showoff | |
parent | ffa9a7405fe55f91d3816d3cf4b3b1b82ede21ff (diff) | |
download | Nim-3ba3307d61319984e3e8b1061f38402d53cf8f60.tar.gz |
remove deprecated procs (#12535)
Diffstat (limited to 'tests/showoff')
-rw-r--r-- | tests/showoff/tdrdobbs_examples.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/showoff/tdrdobbs_examples.nim b/tests/showoff/tdrdobbs_examples.nim index 8687ee529..0e10c6dd8 100644 --- a/tests/showoff/tdrdobbs_examples.nim +++ b/tests/showoff/tdrdobbs_examples.nim @@ -47,7 +47,7 @@ proc filter[T](a: openarray[T], predicate: proc (x: T): bool): seq[T] = proc map[T, S](a: openarray[T], fn: proc (x: T): S): seq[S] = newSeq(result, a.len) - for i in 0 .. <a.len: result[i] = fn(a[i]) + for i in 0 ..< a.len: result[i] = fn(a[i]) type |