From: Ian Lance Taylor Date: Sat, 6 Jul 2024 21:09:26 +0000 (-0700) Subject: unsafe: say "functions like syscall.Syscall", not only Syscall X-Git-Tag: go1.23rc2~2^2~5 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b31e9a63a4;p=gostls13.git 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 --- diff --git a/src/unsafe/unsafe.go b/src/unsafe/unsafe.go index 645ddf2c8a..de9421bab5 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,