]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: fix comment in Checker.renameTParams
authorRobert Griesemer <gri@golang.org>
Thu, 23 Feb 2023 23:42:57 +0000 (15:42 -0800)
committerGopher Robot <gobot@golang.org>
Sat, 25 Feb 2023 20:14:36 +0000 (20:14 +0000)
commit53a5d2541c6c071634792c1ca87622682b139499
treec69ba6c94b2302f6fc68a21e3d22df0a243982c0
parentffb07d0c66db2f3f33faedf2927f9aa476d47720
go/types, types2: fix comment in Checker.renameTParams

The original comment examples didn't pass the correct number
of function arguments. Rather than fixing that, use a simpler
example and adjust prose a bit.

Change-Id: I2806737a2b8f9c4b876911b214f3d9e28213fc27
Reviewed-on: https://go-review.googlesource.com/c/go/+/470918
Reviewed-by: Robert Griesemer <gri@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
src/cmd/compile/internal/types2/infer.go
src/go/types/infer.go