about summary refs log tree commit diff stats
path: root/src/types
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-10-23 19:55:09 +0200
committerbptato <nincsnevem662@gmail.com>2023-10-23 19:55:09 +0200
commitd242bb35a2d6013a92cb7b9901d85e6a98b1431f (patch)
treea01a2c87088eed195670e90ff0c0722837880357 /src/types
parentbf40bc957770a0367be51862d78ba4c85270e37b (diff)
downloadchawan-d242bb35a2d6013a92cb7b9901d85e6a98b1431f.tar.gz
Remove trailing spaces
Diffstat (limited to 'src/types')
-rw-r--r--src/types/cell.nim2
-rw-r--r--src/types/url.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/types/cell.nim b/src/types/cell.nim
index 87148389..ff5eafdd 100644
--- a/src/types/cell.nim
+++ b/src/types/cell.nim
@@ -109,7 +109,7 @@ func findFormatN*(line: FlexibleLine|SimpleFlexibleLine, pos: int): int =
   while i < line.formats.len:
     if line.formats[i].pos > pos:
       break
-    inc i 
+    inc i
   return i
 
 func findFormat*(line: FlexibleLine, pos: int): FormatCell =
diff --git a/src/types/url.nim b/src/types/url.nim
index 562ec31b..1ded3d36 100644
--- a/src/types/url.nim
+++ b/src/types/url.nim
@@ -196,7 +196,7 @@ func parseIpv4(input: string): Option[uint32] =
   for i in low(parts)..high(parts):
     let part = parts[i]
     let num = parseIpv4Number(part)
-    if num < 0: 
+    if num < 0:
       return none(uint32)
     if num > 255:
       if i != high(parts):