reflect: correct typoo in comment

Change-Id: Ic3c69906a8afde63278f173df0427b1c460c9f3e
Reviewed-on: https://go-review.googlesource.com/c/go/+/348189
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
Ian Lance Taylor 2021-09-07 16:10:31 -07:00
parent 3fff213ac2
commit 963218cc9c

View file

@ -1428,7 +1428,7 @@ var ptrMap sync.Map // map[*rtype]*ptrType
// For example, if t represents type Foo, PtrTo(t) represents *Foo.
//
// Deprecated: use PointerTo. PtrTo is the old spelling.
// The two functions behaves identically.
// The two functions behave identically.
func PtrTo(t Type) Type { return PointerTo(t) }
// PointerTo returns the pointer type with element t.