From b23854b2ab8a0805808646348d28552e4c667c46 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Fri, 7 Feb 2020 09:22:52 +0100 Subject: [PATCH] array.v: fix the build --- vlib/builtin/array.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/builtin/array.v b/vlib/builtin/array.v index 2102c348c3..5cbceef0aa 100644 --- a/vlib/builtin/array.v +++ b/vlib/builtin/array.v @@ -370,8 +370,8 @@ pub fn (b []byte) hex() string { // QTODO ptr += C.sprintf(ptr as charptr, '%02x', b[i]) } - return hex as string - //return string(hex) + //return hex as string + return string(hex) } // copy copies the `src` byte array elements to the `dst` byte array.