mirror of
https://github.com/golang/go
synced 2024-09-25 13:30:12 -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:
parent
918edf433b
commit
37c29c5f6c
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user