]> Cypherpunks repositories - gostls13.git/commitdiff
all: fixed a handful of typos
authorRobert Griesemer <gri@golang.org>
Tue, 24 May 2016 21:12:35 +0000 (14:12 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 24 May 2016 21:18:03 +0000 (21:18 +0000)
Change-Id: Ib0683f27b44e2f107cca7a8dcc01d230cbcd5700
Reviewed-on: https://go-review.googlesource.com/23404
Reviewed-by: Alan Donovan <adonovan@google.com>
doc/install-source.html
src/container/list/list_test.go
src/encoding/csv/reader.go
src/runtime/mgc.go

index 9a817676c17bd9872e89094a48dca1b7a1301da1..1d7df3d42c9b62792f49884dd5efb0e57d207352 100644 (file)
@@ -63,19 +63,19 @@ architectures.
        <code>arm64</code> (<code>AArch64</code>)
 </dt>
 <dd>
-       Supports Linux and Darwin binaries. New in 1.5 and not as well excercised as other ports.
+       Supports Linux and Darwin binaries. New in 1.5 and not as well exercised as other ports.
 </dd>
 <dt>
        <code>ppc64, ppc64le</code> (64-bit PowerPC big- and little-endian)
 </dt>
 <dd>
-       Supports Linux binaries. New in 1.5 and not as well excercised as other ports.
+       Supports Linux binaries. New in 1.5 and not as well exercised as other ports.
 </dd>
 <dt>
        <code>mips64, mips64le</code> (64-bit MIPS big- and little-endian)
 </dt>
 <dd>
-       Supports Linux binaries. New in 1.6 and not as well excercised as other ports.
+       Supports Linux binaries. New in 1.6 and not as well exercised as other ports.
 </dd>
 </dl>
 
index 4d8bfc2bf0791bd6148420e374e306e1a0dd3beb..e3bfe53a4981fad9950aed2dba320227b5c39be5 100644 (file)
@@ -326,7 +326,7 @@ func TestInsertAfterUnknownMark(t *testing.T) {
 }
 
 // Test that a list l is not modified when calling MoveAfter or MoveBefore with a mark that is not an element of l.
-func TestMoveUnkownMark(t *testing.T) {
+func TestMoveUnknownMark(t *testing.T) {
        var l1 List
        e1 := l1.PushBack(1)
 
index 58f6eed1e66c3f602487a9c1dcbd0a018596e8e1..5d5e3e5bf7cee1054f2860ed41d143b302c8c8eb 100644 (file)
@@ -234,7 +234,7 @@ func (r *Reader) parseRecord() (fields []string, err error) {
        for {
                haveField, delim, err := r.parseField()
                if haveField {
-                       // If FieldsPerRecord is greater then 0 we can assume the final
+                       // If FieldsPerRecord is greater than 0 we can assume the final
                        // length of fields to be equal to FieldsPerRecord.
                        if r.FieldsPerRecord > 0 && fields == nil {
                                fields = make([]string, 0, r.FieldsPerRecord)
index 3d4df104cbae0b433e1f4d717c3f7ffd7c5ed944..1eabf43d6f24c1eeabec8e413e716c6afbde4935 100644 (file)
@@ -1388,7 +1388,7 @@ func gcBgMarkWorker(_p_ *p) {
        notewakeup(&work.bgMarkReady)
 
        for {
-               // Go to sleep until woken by gcContoller.findRunnable.
+               // Go to sleep until woken by gcController.findRunnable.
                // We can't releasem yet since even the call to gopark
                // may be preempted.
                gopark(func(g *g, parkp unsafe.Pointer) bool {