From: cuishuang Date: Tue, 8 Jul 2025 06:53:13 +0000 (+0800) Subject: internal: make struct comment match struct name X-Git-Tag: go1.25rc3~5^2~42 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fca43a8436;p=gostls13.git internal: make struct comment match struct name Change-Id: I85a4051bd3413bd843b17d22cf9120f615cfe8db Reviewed-on: https://go-review.googlesource.com/c/go/+/686295 Reviewed-by: Cherry Mui LUCI-TryBot-Result: Go LUCI Auto-Submit: Carlos Amedee Reviewed-by: Carlos Amedee --- 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