From ca6be91cbc39574a3f422a07dc4f0f4922c6668f Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Tue, 20 May 2014 14:42:07 -0400 Subject: [PATCH] all: fix "the the" typos. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/93470043 --- doc/articles/wiki/index.html | 2 +- src/cmd/gofmt/testdata/typeswitch.golden | 2 +- src/cmd/gofmt/testdata/typeswitch.input | 2 +- src/pkg/runtime/runtime-gdb.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/articles/wiki/index.html b/doc/articles/wiki/index.html index 7bf7213e88178..b6b080df96036 100644 --- a/doc/articles/wiki/index.html +++ b/doc/articles/wiki/index.html @@ -466,7 +466,7 @@

Saving Pages

The function saveHandler will handle the submission of forms located on the edit pages. After uncommenting the related line in -main, let's implement the the handler: +main, let's implement the handler:

{{code "doc/articles/wiki/final-template.go" `/^func saveHandler/` `/^}/`}} diff --git a/src/cmd/gofmt/testdata/typeswitch.golden b/src/cmd/gofmt/testdata/typeswitch.golden index 87e9161815792..2b1905edd3b4f 100644 --- a/src/cmd/gofmt/testdata/typeswitch.golden +++ b/src/cmd/gofmt/testdata/typeswitch.golden @@ -4,7 +4,7 @@ into the correct unparenthesized form. Only type-switches that didn't declare a variable - in the the type switch type assertion and which + in the type switch type assertion and which contained only "expression-like" (named) types in their cases were permitted to have their type assertion parenthesized by go/parser (due to a weak predicate in the parser). All others diff --git a/src/cmd/gofmt/testdata/typeswitch.input b/src/cmd/gofmt/testdata/typeswitch.input index f90f28949ac49..8f8cba9b855ab 100644 --- a/src/cmd/gofmt/testdata/typeswitch.input +++ b/src/cmd/gofmt/testdata/typeswitch.input @@ -4,7 +4,7 @@ into the correct unparenthesized form. Only type-switches that didn't declare a variable - in the the type switch type assertion and which + in the type switch type assertion and which contained only "expression-like" (named) types in their cases were permitted to have their type assertion parenthesized by go/parser (due to a weak predicate in the parser). All others diff --git a/src/pkg/runtime/runtime-gdb.py b/src/pkg/runtime/runtime-gdb.py index a33280f6947c3..eedac7cf44cf7 100644 --- a/src/pkg/runtime/runtime-gdb.py +++ b/src/pkg/runtime/runtime-gdb.py @@ -378,7 +378,7 @@ def invoke(self, _arg, _from_tty): def find_goroutine(goid): """ find_goroutine attempts to find the goroutine identified by goid. - It returns a touple of gdv.Value's representing the the stack pointer + It returns a touple of gdv.Value's representing the stack pointer and program counter pointer for the goroutine. @param int goid