From f7c203fb6c89b5cef83c4f326aeb23ef8c4a2c40 Mon Sep 17 00:00:00 2001
From: ringabout <43030857+ringabout@users.noreply.github.com>
Date: Mon, 26 Dec 2022 20:20:05 +0800
Subject: remove legacy code (#21134)
* remove legacy code
* fixes
---
lib/system/iterators.nim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'lib/system/iterators.nim')
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
--
cgit 1.4.1-2-gfad0
7dfadb8b4e95d09981fbeb01d85b12f23946c3e7'>this commit
This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror) | ahoang <ahoang@tilde.institute> |
blob: 53481e4df08c7c2d488da9448de400e2e345d857 (
plain) (
blame)