about summary refs log tree commit diff stats
path: root/src/types
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-12-05 12:23:15 +0100
committerbptato <nincsnevem662@gmail.com>2022-12-05 12:23:15 +0100
commit7fdc3a423754c25c05e376f8a02b7438350ed6eb (patch)
tree66bd9d28444cf5bc14125ddbad48c927bbd7cf82 /src/types
parentb31c6a2072b6897ae1ef355013fcd199496aee82 (diff)
downloadchawan-7fdc3a423754c25c05e376f8a02b7438350ed6eb.tar.gz
Remove unused twtstr functions
Diffstat (limited to 'src/types')
-rw-r--r--src/types/url.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/url.nim b/src/types/url.nim
index 1476a566..da27d96b 100644
--- a/src/types/url.nim
+++ b/src/types/url.nim
@@ -287,7 +287,7 @@ func domainToAscii*(domain: string, bestrict = false): Option[string] =
       return none(string)
     return result
   else:
-    return domain.toAsciiLower().some
+    return domain.tolower().some
 
 func parseHost(input: string, isnotspecial = false): Option[Host] =
   if input.len == 0: return