diff --git a/internal/util/unsafe.go b/internal/util/unsafe.go index c2dd105..87f4ab6 100644 --- a/internal/util/unsafe.go +++ b/internal/util/unsafe.go @@ -8,7 +8,7 @@ import ( // Ptr returns the pointer to these things: // - First element of a slice or array, nil if it has zero length; -// - The pointer itself if the parameter is a pointer, pointing to an scalar value. +// - The pointer itself if the parameter is a pointer/uintptr, pointing to an scalar value. // It panics otherwise. func Ptr(d interface{}) (addr unsafe.Pointer) { if d == nil {