From 5f5a8aa5c65753a5a736cfec4e59cddac58cee10 Mon Sep 17 00:00:00 2001 From: flywind <43030857+xflywind@users.noreply.github.com> Date: Sun, 24 Jan 2021 19:14:21 -0600 Subject: [PATCH] remove unused warning (#16809) --- lib/system/dollars.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/system/dollars.nim b/lib/system/dollars.nim index e87c237ad2..16569ea120 100644 --- a/lib/system/dollars.nim +++ b/lib/system/dollars.nim @@ -1,11 +1,11 @@ -import std/private/since - proc `$`*(x: int): string {.magic: "IntToStr", noSideEffect.} ## The stringify operator for an integer argument. Returns `x` ## converted to a decimal string. ``$`` is Nim's general way of ## spelling `toString`:idx:. when defined(js): + import std/private/since + since (1, 3): proc `$`*(x: uint): string = ## Caveat: currently implemented as $(cast[int](x)), tied to current