summaryrefslogtreecommitdiff
path: root/lib/utils.fnl
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2024-10-16 22:42:37 +0600
committerunwox <me@unwox.com>2024-10-16 22:52:32 +0600
commit43c7b5de358e8a158e9ed3c396d3866845682515 (patch)
tree65e14dca8b3467d4161ddf22048438d3b7cfc638 /lib/utils.fnl
parent4bd78ced2b84f9f4c851a8fdb872bc318a296221 (diff)
improve html library handling of self-closing tags
Diffstat (limited to 'lib/utils.fnl')
-rw-r--r--lib/utils.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.fnl b/lib/utils.fnl
index fcc235c..405bf72 100644
--- a/lib/utils.fnl
+++ b/lib/utils.fnl
@@ -5,7 +5,7 @@
(fn measure [what f]
(local start (luna.utf8.now))
(local res (table.pack (f)))
- (print (.. what ": " (/ (- (luna.utf8.now) start) 1e6)))
+ (print (.. what ": " (/ (- (luna.time.now) start) 1e6)))
(values (table.unpack res)))
{: must : measure}