diff options
author | flywind <43030857+xflywind@users.noreply.github.com> | 2021-01-24 19:14:21 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-24 17:14:21 -0800 |
commit | 5f5a8aa5c65753a5a736cfec4e59cddac58cee10 (patch) | |
tree | 81aea5923db49e8eb12f76eb53004d0c7daec108 | |
parent | 97bde218e3297eb3fc5082cb1cad4dfc1812e6dc (diff) | |
download | Nim-5f5a8aa5c65753a5a736cfec4e59cddac58cee10.tar.gz |
remove unused warning (#16809)
-rw-r--r-- | lib/system/dollars.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/dollars.nim b/lib/system/dollars.nim index e87c237ad..16569ea12 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 |