summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorClay Sweetser <Varriount@users.noreply.github.com>2022-07-31 23:24:14 -0400
committerGitHub <noreply@github.com>2022-07-31 23:24:14 -0400
commit77891cedaeeb9283793c34b231d8d8c4f19002de (patch)
treee2f199cbece4dd589239a5faa3bbb6ed138ef85f /lib
parent3987a3bf9719362306cb824f99f865da2f59c131 (diff)
downloadNim-77891cedaeeb9283793c34b231d8d8c4f19002de.tar.gz
Fix "Add Wider Ascii Chars sets and func for string formatting" (#20120)
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/strutils.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim
index 9302e9cff..0585b6480 100644
--- a/lib/pure/strutils.nim
+++ b/lib/pure/strutils.nim
@@ -104,9 +104,6 @@ const
   PunctuationChars* = {'!'..'/', ':'..'@', '['..'`', '{'..'~'}
     ## The set of all ASCII punctuation characters.
 
-  PrintableChars* = Letters + Digits + PunctuationChars + Whitespace
-    ## The set of all printable ASCII characters (letters, digits, whitespace, and punctuation characters).
-
   Digits* = {'0'..'9'}
     ## The set of digits.
 
@@ -123,6 +120,9 @@ const
     ## The set of characters a newline terminator can start with (carriage
     ## return, line feed).
 
+  PrintableChars* = Letters + Digits + PunctuationChars + Whitespace
+    ## The set of all printable ASCII characters (letters, digits, whitespace, and punctuation characters).
+
   AllChars* = {'\x00'..'\xFF'}
     ## A set with all the possible characters.
     ##