From 200f8dacb747d666c60d5c0313ceba1f4d7d41e4 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sun, 9 Aug 2020 04:22:42 +0200 Subject: [PATCH] []byte.str2() => bytestr() --- vlib/builtin/int.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/builtin/int.v b/vlib/builtin/int.v index 2fa9a2fd08..f8f4c7b287 100644 --- a/vlib/builtin/int.v +++ b/vlib/builtin/int.v @@ -411,7 +411,7 @@ pub fn (b []byte) clone() []byte { return res } -pub fn (b []byte) str2() string { +pub fn (b []byte) bytestr() string { return bytes2string(b) }