Skip to content

Commit b31e9a6

Browse files
ianlancetaylorgopherbot
authored andcommitted
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 <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Keith Randall <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]>
1 parent a71bb57 commit b31e9a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unsafe/unsafe.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ type IntegerType int
110110
// u := unsafe.Pointer(nil)
111111
// p := unsafe.Pointer(uintptr(u) + offset)
112112
//
113-
// (4) Conversion of a Pointer to a uintptr when calling [syscall.Syscall].
113+
// (4) Conversion of a Pointer to a uintptr when calling functions like [syscall.Syscall].
114114
//
115115
// The Syscall functions in package syscall pass their uintptr arguments directly
116116
// to the operating system, which then may, depending on the details of the call,

0 commit comments

Comments
 (0)