From 1a2d5f65fb8db1d25624deb88aff95dba52cf25f Mon Sep 17 00:00:00 2001 From: Enzo Date: Thu, 9 Sep 2021 09:50:35 +0200 Subject: [PATCH] builtin: add `size_t.str()` again (#11446) --- vlib/builtin/int.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vlib/builtin/int.v b/vlib/builtin/int.v index 29bfd95050..1756b9f3c3 100644 --- a/vlib/builtin/int.v +++ b/vlib/builtin/int.v @@ -24,9 +24,9 @@ pub fn (x usize) str() string { return u64(x).str() } -// pub fn (x size_t) str() string { -// return u64(x).str() -// } +pub fn (x size_t) str() string { + return u64(x).str() +} pub fn (cptr &char) str() string { return u64(cptr).hex()