diff --git a/src/go/types/api.go b/src/go/types/api.go index b2ce79f07b..1adcdf9f8c 100644 --- a/src/go/types/api.go +++ b/src/go/types/api.go @@ -114,10 +114,10 @@ type Config struct { // An importer is used to import packages referred to from // import declarations. - // If the installed importer implements Importer2, Import2 - // is called instead of Import. - // An error is reported if an importer is needed but none - // was installed. + // If the installed importer implements Importer2, the type + // checker calls Import2 instead of Import. + // The type checker reports an error if an importer is needed + // but none was installed. Importer Importer // If Sizes != nil, it provides the sizing functions for package unsafe.