From ce161e610f5c6a1f321794ad305d82fae14ac1e5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 17 Jan 2023 11:52:06 +0530 Subject: [PATCH] ... --- tools/utils/unsafeutil.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/utils/unsafeutil.go b/tools/utils/unsafeutil.go index 5140ef636..5c741a040 100644 --- a/tools/utils/unsafeutil.go +++ b/tools/utils/unsafeutil.go @@ -6,6 +6,8 @@ import ( "unsafe" ) +// TODO: Convert these to use the safer stdlib unsafe functions added in Go 1.20 + // stringHeader is the runtime representation of a string. // It should be identical to reflect.StringHeader type stringHeader struct {