about summary refs log tree commit diff stats
path: root/src/types
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-01-07 17:39:33 +0100
committerbptato <nincsnevem662@gmail.com>2024-01-07 17:39:33 +0100
commit10a02b2ae2613b383453ba99318330560e9371ac (patch)
treec14e3e5e477d257aa7141483c09a52568e5a9458 /src/types
parent22f127b1124608dc7bcc13165e382bfbaa803764 (diff)
downloadchawan-10a02b2ae2613b383453ba99318330560e9371ac.tar.gz
Use std/* imports everywhere
Diffstat (limited to 'src/types')
-rw-r--r--src/types/buffersource.nim4
-rw-r--r--src/types/cell.nim4
-rw-r--r--src/types/color.nim6
-rw-r--r--src/types/cookie.nim4
-rw-r--r--src/types/referer.nim5
-rw-r--r--src/types/urimethodmap.nim4
-rw-r--r--src/types/vector.nim2
7 files changed, 15 insertions, 14 deletions
diff --git a/src/types/buffersource.nim b/src/types/buffersource.nim
index 9b4e1814..40b0f5a7 100644
--- a/src/types/buffersource.nim
+++ b/src/types/buffersource.nim
@@ -1,7 +1,7 @@
-import options
+import std/options
 
 when defined(posix):
-  import posix
+  import std/posix
 
 import loader/request
 import types/url
diff --git a/src/types/cell.nim b/src/types/cell.nim
index a0ba3459..c7a92c96 100644
--- a/src/types/cell.nim
+++ b/src/types/cell.nim
@@ -1,5 +1,5 @@
-import options
-import tables
+import std/options
+import std/tables
 
 import css/stylednode
 import types/color
diff --git a/src/types/color.nim b/src/types/color.nim
index 5abe1a9e..ea428267 100644
--- a/src/types/color.nim
+++ b/src/types/color.nim
@@ -1,6 +1,6 @@
-import options
-import strutils
-import tables
+import std/options
+import std/strutils
+import std/tables
 
 import bindings/quickjs
 import js/error
diff --git a/src/types/cookie.nim b/src/types/cookie.nim
index f55a150e..82c9d780 100644
--- a/src/types/cookie.nim
+++ b/src/types/cookie.nim
@@ -1,5 +1,5 @@
-import strutils
-import times
+import std/strutils
+import std/times
 
 import io/urlfilter
 import js/error
diff --git a/src/types/referer.nim b/src/types/referer.nim
index 77cb4e4d..40531b59 100644
--- a/src/types/referer.nim
+++ b/src/types/referer.nim
@@ -1,5 +1,6 @@
-import url
-import options
+import std/options
+
+import types/url
 
 type ReferrerPolicy* = enum
   STRICT_ORIGIN_WHEN_CROSS_ORIGIN
diff --git a/src/types/urimethodmap.nim b/src/types/urimethodmap.nim
index 48163668..464c9b69 100644
--- a/src/types/urimethodmap.nim
+++ b/src/types/urimethodmap.nim
@@ -1,7 +1,7 @@
 # w3m's URI method map format.
 
-import strutils
-import tables
+import std/strutils
+import std/tables
 
 import types/opt
 import types/url
diff --git a/src/types/vector.nim b/src/types/vector.nim
index e200cc98..f0a03db5 100644
--- a/src/types/vector.nim
+++ b/src/types/vector.nim
@@ -1,4 +1,4 @@
-import math
+import std/math
 
 type Vector2D* = object
   x*: float64