aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/internal/abi/type.go2
-rw-r--r--src/internal/goroot/gc.go2
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