From: Rahul Chaudhry Date: Fri, 29 Jan 2016 00:33:35 +0000 (-0800) Subject: unsafe: fix typo in documentation of valid Pointer->uintptr->Pointer conversions X-Git-Tag: go1.6rc2~3^2~9 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f5e309012b2dc4d60b324e8d805345002bcdaec1;p=gostls13.git unsafe: fix typo in documentation of valid Pointer->uintptr->Pointer conversions Change-Id: Ib669d5241372326a46361ee096570e960b7a957f Reviewed-on: https://go-review.googlesource.com/19082 Reviewed-by: Ian Lance Taylor --- diff --git a/src/unsafe/unsafe.go b/src/unsafe/unsafe.go index 33b3114219..532fa4aa22 100644 --- a/src/unsafe/unsafe.go +++ b/src/unsafe/unsafe.go @@ -63,7 +63,7 @@ type ArbitraryType int // (3) Conversion of a Pointer to a uintptr and back, with arithmetic. // // If p points into an allocated object, it can be advanced through the object -// by conversion to uintptr, addition of an offset, and conversion back to uintptr. +// by conversion to uintptr, addition of an offset, and conversion back to Pointer. // // p = unsafe.Pointer(uintptr(p) + offset) //