Diff

util/uuid.lua @ 12355:a0ff5c438e9d

util.hex: Deprecate to/from in favour of encode/decode, for consistency!
author Matthew Wild <mwild1@gmail.com>
date Fri, 04 Mar 2022 15:22:45 +0000
parent 7078:ec17115e3721
child 12975:d10957394a3c
line wrap: on
line diff
--- a/util/uuid.lua	Fri Mar 04 15:03:02 2022 +0000
+++ b/util/uuid.lua	Fri Mar 04 15:22:45 2022 +0000
@@ -8,7 +8,7 @@
 
 local random = require "util.random";
 local random_bytes = random.bytes;
-local hex = require "util.hex".to;
+local hex = require "util.hex".encode;
 local m_ceil = math.ceil;
 
 local function get_nibbles(n)