aboutsummaryrefslogtreecommitdiffstats
path: root/src/html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-04-08 01:32:17 +0200
committerbptato <nincsnevem662@gmail.com>2024-04-08 01:32:17 +0200
commitdef6f3e5c28974063b650db194a0c055d4dea685 (patch)
treed5281535fe5c638a83f2343506d7e68209b5e965 /src/html
parentf037d5ecadbdfeadf9c684341964d9c350a9cff4 (diff)
downloadchawan-def6f3e5c28974063b650db194a0c055d4dea685.tar.gz
remove dead code, fix openArray casing
Diffstat (limited to 'src/html')
-rw-r--r--src/html/dom.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim
index 0ee42967..5bab4e9c 100644
--- a/src/html/dom.nim
+++ b/src/html/dom.nim
@@ -729,7 +729,7 @@ type
func attrType0(s: static string): StaticAtom =
return parseEnum[StaticAtom](s)
-template toset(ts: openarray[TagType]): set[TagType] =
+template toset(ts: openArray[TagType]): set[TagType] =
var tags: system.set[TagType]
for tag in ts:
tags.incl(tag)