From: Rob Pike Date: Sat, 22 Sep 2012 19:03:43 +0000 (+1000) Subject: spec: a couple of minor tweaks to the wording of the import section X-Git-Tag: go1.1rc2~2372 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b51ad9cf457744d9e2feb6ada239a1078ba4540a;p=gostls13.git spec: a couple of minor tweaks to the wording of the import section - remove ambiguous 'it' - use a lower-case PackageName in the example R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6552057 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 675970300d..7e5d5042ed 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -5177,7 +5177,7 @@ An implementation may require that all source files for a package inhabit the sa An import declaration states that the source file containing the declaration depends on functionality of the imported package (§Program initialization and execution) -and it enables access to exported identifiers +and enables access to exported identifiers of that package. The import names an identifier (PackageName) to be used for access and an ImportPath that specifies the package to be imported. @@ -5231,7 +5231,7 @@ various types of import declaration. Import declaration Local name of Sin import "lib/math" math.Sin -import M "lib/math" M.Sin +import m "lib/math" m.Sin import . "lib/math" Sin