internal: make struct comment match struct name

Change-Id: I85a4051bd3413bd843b17d22cf9120f615cfe8db
Reviewed-on: https://go-review.googlesource.com/c/go/+/686295
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Carlos Amedee <carlos@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
This commit is contained in:
cuishuang 2025-07-08 14:53:13 +08:00 committed by Gopher Robot
parent bb917bb030
commit fca43a8436
2 changed files with 2 additions and 2 deletions

View file

@ -483,7 +483,7 @@ type SliceType struct {
Elem *Type // slice element type Elem *Type // slice element type
} }
// funcType represents a function type. // FuncType represents a function type.
// //
// A *Type for each in and out parameter is stored in an array that // A *Type for each in and out parameter is stored in an array that
// directly follows the funcType (and possibly its uncommonType). So // directly follows the funcType (and possibly its uncommonType). So

View file

@ -37,7 +37,7 @@ func IsStandardPackage(goroot, compiler, path string) bool {
} }
} }
// gccgoSearch holds the gccgo search directories. // gccgoDirs holds the gccgo search directories.
type gccgoDirs struct { type gccgoDirs struct {
once sync.Once once sync.Once
dirs []string dirs []string