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>
// 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.