remove unused warning (#16809)
This commit is contained in:
parent
97bde218e3
commit
5f5a8aa5c6
1 changed files with 2 additions and 2 deletions
|
|
@ -1,11 +1,11 @@
|
||||||
import std/private/since
|
|
||||||
|
|
||||||
proc `$`*(x: int): string {.magic: "IntToStr", noSideEffect.}
|
proc `$`*(x: int): string {.magic: "IntToStr", noSideEffect.}
|
||||||
## The stringify operator for an integer argument. Returns `x`
|
## The stringify operator for an integer argument. Returns `x`
|
||||||
## converted to a decimal string. ``$`` is Nim's general way of
|
## converted to a decimal string. ``$`` is Nim's general way of
|
||||||
## spelling `toString`:idx:.
|
## spelling `toString`:idx:.
|
||||||
|
|
||||||
when defined(js):
|
when defined(js):
|
||||||
|
import std/private/since
|
||||||
|
|
||||||
since (1, 3):
|
since (1, 3):
|
||||||
proc `$`*(x: uint): string =
|
proc `$`*(x: uint): string =
|
||||||
## Caveat: currently implemented as $(cast[int](x)), tied to current
|
## Caveat: currently implemented as $(cast[int](x)), tied to current
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue