diff options
author | Ian Lance Taylor <iant@golang.org> | 2021-09-07 16:10:31 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-09-08 00:02:45 +0000 |
commit | 963218cc9c331931c5886f2eb7199e6d0c362e93 (patch) | |
tree | 0d9edf8ec3405d1cdfc2fd104828f8050fd7ff68 /src/reflect | |
parent | 3fff213ac24dc3b9b92c8a1f5f18ec0c97bac4c0 (diff) | |
download | go-963218cc9c331931c5886f2eb7199e6d0c362e93.tar.gz go-963218cc9c331931c5886f2eb7199e6d0c362e93.zip |
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>
Diffstat (limited to 'src/reflect')
-rw-r--r-- | src/reflect/type.go | 2 |
1 files changed, 1 insertions, 1 deletions
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. |