Merge pull request #4260 from abudden/formatSizeNoSideEffect
Added missing noSideEffect pragma
This commit is contained in:
commit
188da1b31f
1 changed files with 1 additions and 1 deletions
|
|
@ -1488,7 +1488,7 @@ type
|
||||||
proc formatSize*(bytes: int64,
|
proc formatSize*(bytes: int64,
|
||||||
decimalSep = '.',
|
decimalSep = '.',
|
||||||
prefix = bpIEC,
|
prefix = bpIEC,
|
||||||
includeSpace = false): string =
|
includeSpace = false): string {.noSideEffect.} =
|
||||||
## Rounds and formats `bytes`.
|
## Rounds and formats `bytes`.
|
||||||
##
|
##
|
||||||
## By default, uses the IEC/ISO standard binary prefixes, so 1024 will be
|
## By default, uses the IEC/ISO standard binary prefixes, so 1024 will be
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue