remove unused warning (#16809)

This commit is contained in:
flywind
2021-01-24 19:14:21 -06:00
committed by GitHub
parent 97bde218e3
commit 5f5a8aa5c6

View File

@@ -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