]> Cypherpunks repositories - gostls13.git/commitdiff
go/types: fix typo in Info.Types doc comment
authorRuss Cox <rsc@golang.org>
Sat, 3 May 2025 21:06:41 +0000 (17:06 -0400)
committerRobert Griesemer <gri@google.com>
Sun, 4 May 2025 22:04:38 +0000 (15:04 -0700)
Change-Id: Ib95b77ab3dc6e48158e25e70fabb2579f3706b5f
Reviewed-on: https://go-review.googlesource.com/c/go/+/669755
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
src/go/types/api.go

index f60c2ff7ee42effccd20a94fee97f5a9340f8503..00fac4a9a0ab4f7dcb3eb0d7b826d34af29a1bef 100644 (file)
@@ -228,7 +228,7 @@ type Info struct {
        // Similarly, no type is recorded for the (synthetic) FuncType
        // node in a FuncDecl.Type field, since there is no corresponding
        // syntactic function type expression in the source in this case
-       // Instead, the function type is found in the Defs.map entry for
+       // Instead, the function type is found in the Defs map entry for
        // the corresponding function declaration.
        Types map[ast.Expr]TypeAndValue