From 2e67056c870f52d0df4cd398c1197b8b01c9c073 Mon Sep 17 00:00:00 2001 From: Charles Blake Date: Wed, 13 Mar 2024 15:10:10 -0400 Subject: [PATCH] `UnusedImport` warning no longer fires for `std/strformat` usages. --- ndup/setFile.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndup/setFile.nim b/ndup/setFile.nim index 07cbf96..bd4847c 100644 --- a/ndup/setFile.nim +++ b/ndup/setFile.nim @@ -4,7 +4,7 @@ const HSz = 8 #TODO Generalize to non-8-byte-sized hash codes. import std/[math, parseutils, hashes, strformat], memfiles as mf, cligen/osUt -when not declared(fmRead): import std/[syncio, formatfloat] +when not declared(fmRead): import std/syncio type SetFile* = MemFile proc rightSize(count: Natural, num=5, den=6): int {.inline.} =