summary refs log tree commit diff stats
path: root/lib/system/iterators.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-12-26 20:20:05 +0800
committerGitHub <noreply@github.com>2022-12-26 13:20:05 +0100
commitf7c203fb6c89b5cef83c4f326aeb23ef8c4a2c40 (patch)
tree62d6354e81eb0eb15f22bb3189f6e9d2f4ed27c0 /lib/system/iterators.nim
parentb08c50bb553364eec1e20ab788d990b63f4548e0 (diff)
downloadNim-f7c203fb6c89b5cef83c4f326aeb23ef8c4a2c40.tar.gz
remove legacy code (#21134)
* remove legacy code

* fixes
Diffstat (limited to 'lib/system/iterators.nim')
-rw-r--r--lib/system/iterators.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/iterators.nim b/lib/system/iterators.nim
index b16a605b7..4bd12680f 100644
--- a/lib/system/iterators.nim
+++ b/lib/system/iterators.nim
@@ -3,7 +3,7 @@
 when defined(nimPreviewSlimSystem):
   import std/assertions
 
-when defined(nimHasLentIterators) and not defined(nimNoLentIterators):
+when not defined(nimNoLentIterators):
   template lent2(T): untyped = lent T
 else:
   template lent2(T): untyped = T