Commit 85caeafb authored by Ian Lance Taylor's avatar Ian Lance Taylor

unsafe: fix reference to string header

Fixes #24115

Change-Id: I89d3d5a9c0916fd2e21fe5930549c4129de8ab48
Reviewed-on: https://go-review.googlesource.com/96983Reviewed-by: default avatarGiovanni Bajo <rasky@develer.com>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent cbfda7f8
......@@ -158,7 +158,7 @@ type ArbitraryType int
// hdr.Len = n
//
// In this usage hdr.Data is really an alternate way to refer to the underlying
// pointer in the slice header, not a uintptr variable itself.
// pointer in the string header, not a uintptr variable itself.
//
// In general, reflect.SliceHeader and reflect.StringHeader should be used
// only as *reflect.SliceHeader and *reflect.StringHeader pointing at actual
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment