diff options
| author | cuishuang <imcusg@gmail.com> | 2025-07-08 14:53:13 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-07-08 08:04:08 -0700 |
| commit | fca43a8436f2dbec981fb002c6ba31fe9ff89dd6 (patch) | |
| tree | 5a306b085525cd0049039a2fa097871f0a1449d0 /src | |
| parent | bb917bb0303843467e809a3a373e4bb2d359fcfa (diff) | |
| download | go-fca43a8436f2dbec981fb002c6ba31fe9ff89dd6.tar.xz | |
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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/internal/abi/type.go | 2 | ||||
| -rw-r--r-- | src/internal/goroot/gc.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/abi/type.go b/src/internal/abi/type.go index 4671b0da28..786fb9cd66 100644 --- a/src/internal/abi/type.go +++ b/src/internal/abi/type.go @@ -483,7 +483,7 @@ type SliceType struct { 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 // directly follows the funcType (and possibly its uncommonType). So diff --git a/src/internal/goroot/gc.go b/src/internal/goroot/gc.go index 6b37dfa4c7..133d076391 100644 --- a/src/internal/goroot/gc.go +++ b/src/internal/goroot/gc.go @@ -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 { once sync.Once dirs []string |
