From d16f864b7b4d2a5907e25b4e9d50dbdbe08abe97 Mon Sep 17 00:00:00 2001 From: "A. S. Budden" Date: Thu, 2 Jun 2016 10:25:51 +0100 Subject: [PATCH] Added missing noSideEffect pragma --- lib/pure/strutils.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim index 55494a8b5d..5ba8a6fd5a 100644 --- a/lib/pure/strutils.nim +++ b/lib/pure/strutils.nim @@ -1488,7 +1488,7 @@ type proc formatSize*(bytes: int64, decimalSep = '.', prefix = bpIEC, - includeSpace = false): string = + includeSpace = false): string {.noSideEffect.} = ## Rounds and formats `bytes`. ## ## By default, uses the IEC/ISO standard binary prefixes, so 1024 will be