From 110811940a8ecbc4d2abcdc29ae288cb78c89d8a Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 24 Nov 2025 10:02:53 +0200 Subject: [PATCH] builtin,strconv: cleanup obsolete comments --- vlib/builtin/string_charptr_byteptr_helpers.v | 2 -- vlib/strconv/format.md | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/vlib/builtin/string_charptr_byteptr_helpers.v b/vlib/builtin/string_charptr_byteptr_helpers.v index a1a1226a8..f1fd578b9 100644 --- a/vlib/builtin/string_charptr_byteptr_helpers.v +++ b/vlib/builtin/string_charptr_byteptr_helpers.v @@ -1,7 +1,5 @@ module builtin -// Note: this file will be removed soon - // byteptr.vbytes() - makes a V []u8 structure from a C style memory buffer. Note: the data is reused, NOT copied! @[reused; unsafe] pub fn (data byteptr) vbytes(len int) []u8 { diff --git a/vlib/strconv/format.md b/vlib/strconv/format.md index 6e29a2217..7e656473d 100644 --- a/vlib/strconv/format.md +++ b/vlib/strconv/format.md @@ -3,7 +3,7 @@ These are v implementations of the C language `printf` and `sprintf` functions. > **Note** -> These functions are deprecated and will be removed soon. Use string interpolation instead. +> These functions are platform dependent in C, but in V they are platform independent. ### v_sprintf -- 2.39.5