about summary refs log tree commit diff stats
path: root/src/utils/twtstr.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/twtstr.nim')
-rw-r--r--src/utils/twtstr.nim22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/utils/twtstr.nim b/src/utils/twtstr.nim
index 0168ad63..d7e5a5ba 100644
--- a/src/utils/twtstr.nim
+++ b/src/utils/twtstr.nim
@@ -1,11 +1,14 @@
-import algorithm
-import json
-import math
-import options
-import os
-import strutils
-import tables
-import unicode
+import std/algorithm
+import std/json
+import std/math
+import std/options
+import std/os
+import std/strutils
+import std/tables
+import std/unicode
+
+when defined(posix):
+  import std/posix
 
 import types/opt
 import utils/charcategory
@@ -13,9 +16,6 @@ import utils/map
 
 export charcategory
 
-when defined(posix):
-  import posix
-
 func onlyWhitespace*(s: string): bool =
   for c in s:
     if c notin AsciiWhitespace: