diff options
author | Miran <narimiran@disroot.org> | 2019-03-13 15:59:09 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-03-13 15:59:09 +0100 |
commit | 84d3f3d448aa59c86084c94b9a71435529ba48cd (patch) | |
tree | ccf33b235c8ad5ff4fdb8aaa57bc7f0776f896ab /lib/system/strmantle.nim | |
parent | b270917de1d5fbda2f5d4127e1513793a88391d3 (diff) | |
download | Nim-84d3f3d448aa59c86084c94b9a71435529ba48cd.tar.gz |
move system.dollars in a separate file (#10829)
Diffstat (limited to 'lib/system/strmantle.nim')
-rw-r--r-- | lib/system/strmantle.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/system/strmantle.nim b/lib/system/strmantle.nim index 548dacd22..727c08da3 100644 --- a/lib/system/strmantle.nim +++ b/lib/system/strmantle.nim @@ -293,7 +293,9 @@ proc nimCharToStr(x: char): string {.compilerRtl.} = result = newString(1) result[0] = x -proc `$`(x: uint64): string = +proc `$`*(x: uint64): string {.noSideEffect.} = + ## The stringify operator for an unsigned integer argument. Returns `x` + ## converted to a decimal string. if x == 0: result = "0" else: |