mirror of
https://github.com/golang/go
synced 2024-11-17 10:14:46 -07:00
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:
parent
3fff213ac2
commit
963218cc9c
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user