]> Cypherpunks repositories - gostls13.git/commitdiff
internal: make struct comment match struct name
authorcuishuang <imcusg@gmail.com>
Tue, 8 Jul 2025 06:53:13 +0000 (14:53 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 8 Jul 2025 15:04:08 +0000 (08:04 -0700)
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>
src/internal/abi/type.go
src/internal/goroot/gc.go

index 4671b0da2848f32f4f3b9d79a28de8ebee30a13c..786fb9cd66e053f02e04005a5ffacfb02811fa11 100644 (file)
@@ -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
index 6b37dfa4c75efd032d0ae64565f14a785c3136ac..133d0763913a33e0d055d93ed0fe751a1015fbb8 100644 (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 {
        once sync.Once
        dirs []string