about summary refs log tree commit diff stats
path: root/src/css/sheet.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-01-24 23:01:36 +0100
committerbptato <nincsnevem662@gmail.com>2022-01-24 23:01:36 +0100
commitacf7cfad349f45bc97d84e9d0690aa36b1332919 (patch)
treea15c55f193ed34a28ea8cf9f12dbf2e723983bdc /src/css/sheet.nim
parentfc73013902e05eb7c2a9750bf804f2e356bd30f1 (diff)
downloadchawan-acf7cfad349f45bc97d84e9d0690aa36b1332919.tar.gz
Remove some unused declarations
Diffstat (limited to 'src/css/sheet.nim')
-rw-r--r--src/css/sheet.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/css/sheet.nim b/src/css/sheet.nim
index 1df4fb70..07f9fe8f 100644
--- a/src/css/sheet.nim
+++ b/src/css/sheet.nim
@@ -72,7 +72,6 @@ iterator gen_rules*(sheet: CSSStylesheet, tag: TagType, id: string, classes: seq
     yield rule
 
 proc add(sheet: var CSSStylesheet, rule: CSSRuleDef) =
-  let rule = CSSRuleDef(rule)
   var hashes: SelectorHashes
   for list in rule.sels:
     for sel in list.sels: