diff --git a/doc/code.html b/doc/code.html index 768a9995a2f..238cb064337 100644 --- a/doc/code.html +++ b/doc/code.html @@ -245,7 +245,7 @@ $ go install

-The resulting workspace directory tree (assuimg we're running Linux on a 64-bit +The resulting workspace directory tree (assuming we're running Linux on a 64-bit system) looks like this:

diff --git a/doc/debugging_with_gdb.html b/doc/debugging_with_gdb.html index 43977b7772d..51b650b18c8 100644 --- a/doc/debugging_with_gdb.html +++ b/doc/debugging_with_gdb.html @@ -351,7 +351,7 @@ $3 = struct hchan<*testing.T>

-That struct hchan<*testing.T> is the runtime-internal represntation of a channel. It is currently empty, or gdb would have pretty-printed it's contents. +That struct hchan<*testing.T> is the runtime-internal representation of a channel. It is currently empty, or gdb would have pretty-printed it's contents.

diff --git a/doc/gccgo_install.html b/doc/gccgo_install.html index ae359437a6e..e769c2211bd 100644 --- a/doc/gccgo_install.html +++ b/doc/gccgo_install.html @@ -342,7 +342,7 @@ func c_open(name *byte, mode int, perm int) int __asm__ ("open");

-The C function naturally expects a nul terminated string, which in +The C function naturally expects a NUL-terminated string, which in Go is equivalent to a pointer to an array (not a slice!) of byte with a terminating zero byte. So a sample call from Go would look like (after importing the os package): diff --git a/doc/go_mem.html b/doc/go_mem.html index d4f3656bf07..ece230638e7 100644 --- a/doc/go_mem.html +++ b/doc/go_mem.html @@ -283,7 +283,7 @@ The sync package implements two lock data types,

For any sync.Mutex or sync.RWMutex variable l and n < m, -the n'th call to l.Unlock() happens before the m'th call to l.Lock() returns. +call n of l.Unlock() happens before call m of l.Lock() returns.

@@ -316,9 +316,9 @@ which happens before the print.

For any call to l.RLock on a sync.RWMutex variable l, -there is an n such that the l.RLock happens (returns) after the n'th call to +there is an n such that the l.RLock happens (returns) after call n to l.Unlock and the matching l.RUnlock happens -before the n+1'th call to l.Lock. +before call n+1 to l.Lock.

Once

diff --git a/doc/go_spec.html b/doc/go_spec.html index 9d3ff87b116..2c905c723b0 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -75,7 +75,7 @@ double quotes "" or back quotes ``.

The form a … b represents the set of characters from a through b as alternatives. The horizontal -ellipis is also used elsewhere in the spec to informally denote various +ellipsis is also used elsewhere in the spec to informally denote various enumerations or code snippets that are not further specified. The character (as opposed to the three characters ...) is not a token of the Go language.