This commit is contained in:
Kovid Goyal 2023-01-17 11:52:06 +05:30
parent b1b9c3704b
commit ce161e610f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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 {