Commit 37c29c5f authored by Robert Griesemer's avatar Robert Griesemer

go/types: slightly better doc strings

Per suggestion from adonovan.

Change-Id: Icbb4d2f201590bc94672b8d8141b6e7901e11dc5
Reviewed-on: https://go-review.googlesource.com/18510Reviewed-by: default avatarRobert Griesemer <gri@golang.org>
parent 918edf43
...@@ -114,10 +114,10 @@ type Config struct { ...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment