From b31e9a63a4d7ed98b89719ee54b752920782ae15 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 6 Jul 2024 14:09:26 -0700 Subject: [PATCH] unsafe: say "functions like syscall.Syscall", not only Syscall Fixes #68301 Change-Id: I9d7f623370705ab2ad4c49489b5a89162467f22a Reviewed-on: https://go-review.googlesource.com/c/go/+/596936 Commit-Queue: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: Keith Randall Reviewed-by: Ian Lance Taylor Reviewed-by: Keith Randall Auto-Submit: Ian Lance Taylor --- src/unsafe/unsafe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unsafe/unsafe.go b/src/unsafe/unsafe.go index 645ddf2c8aa..de9421bab56 100644 --- a/src/unsafe/unsafe.go +++ b/src/unsafe/unsafe.go @@ -110,7 +110,7 @@ type IntegerType int // u := unsafe.Pointer(nil) // p := unsafe.Pointer(uintptr(u) + offset) // -// (4) Conversion of a Pointer to a uintptr when calling [syscall.Syscall]. +// (4) Conversion of a Pointer to a uintptr when calling functions like [syscall.Syscall]. // // The Syscall functions in package syscall pass their uintptr arguments directly // to the operating system, which then may, depending on the details of the call,