1
0
mirror of https://github.com/golang/go synced 2024-09-25 15:20:13 -06:00

go/types: slightly better doc strings

Per suggestion from adonovan.

Change-Id: Icbb4d2f201590bc94672b8d8141b6e7901e11dc5
Reviewed-on: https://go-review.googlesource.com/18510
Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
Robert Griesemer 2016-01-11 10:59:36 -08:00
parent 918edf433b
commit 37c29c5f6c

View File

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