From 963218cc9c331931c5886f2eb7199e6d0c362e93 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 7 Sep 2021 16:10:31 -0700 Subject: [PATCH] reflect: correct typoo in comment Change-Id: Ic3c69906a8afde63278f173df0427b1c460c9f3e Reviewed-on: https://go-review.googlesource.com/c/go/+/348189 Trust: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Reviewed-by: Brad Fitzpatrick TryBot-Result: Go Bot --- src/reflect/type.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reflect/type.go b/src/reflect/type.go index 1d637d134e..afb802e641 100644 --- a/src/reflect/type.go +++ b/src/reflect/type.go @@ -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. -- 2.48.1