Skip to content

Commit fca43a8

Browse files
cuishuanggopherbot
authored andcommitted
internal: make struct comment match struct name
Change-Id: I85a4051bd3413bd843b17d22cf9120f615cfe8db Reviewed-on: https://go-review.googlesource.com/c/go/+/686295 Reviewed-by: Cherry Mui <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Carlos Amedee <[email protected]> Reviewed-by: Carlos Amedee <[email protected]>
1 parent bb917bb commit fca43a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/internal/abi/type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ type SliceType struct {
483483
Elem *Type // slice element type
484484
}
485485

486-
// funcType represents a function type.
486+
// FuncType represents a function type.
487487
//
488488
// A *Type for each in and out parameter is stored in an array that
489489
// directly follows the funcType (and possibly its uncommonType). So

src/internal/goroot/gc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func IsStandardPackage(goroot, compiler, path string) bool {
3737
}
3838
}
3939

40-
// gccgoSearch holds the gccgo search directories.
40+
// gccgoDirs holds the gccgo search directories.
4141
type gccgoDirs struct {
4242
once sync.Once
4343
dirs []string

0 commit comments

Comments
 (0)