diff options
author | bptato <nincsnevem662@gmail.com> | 2024-01-07 17:39:33 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-01-07 17:39:33 +0100 |
commit | 10a02b2ae2613b383453ba99318330560e9371ac (patch) | |
tree | c14e3e5e477d257aa7141483c09a52568e5a9458 /src/utils/twtstr.nim | |
parent | 22f127b1124608dc7bcc13165e382bfbaa803764 (diff) | |
download | chawan-10a02b2ae2613b383453ba99318330560e9371ac.tar.gz |
Use std/* imports everywhere
Diffstat (limited to 'src/utils/twtstr.nim')
-rw-r--r-- | src/utils/twtstr.nim | 22 |
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: |