From f5e309012b2dc4d60b324e8d805345002bcdaec1 Mon Sep 17 00:00:00 2001 From: Rahul Chaudhry Date: Thu, 28 Jan 2016 16:33:35 -0800 Subject: [PATCH] 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 --- 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 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) //