summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMatthew William Jibson <matt.jibson@gmail.com>2012-07-08 11:57:04 +1000
committerDavid Symonds <dsymonds@golang.org>2012-07-08 11:57:04 +1000
commitf83a47cbb9eae6d609019c1ac1a1950f63629e0d (patch)
tree2dac256b1d8e37db9acca1d9748377b7e86cf1ec /doc
parent3be9f0b30a0ad1b10a82ae215c0a384460cd3f0e (diff)
downloadgo-git-f83a47cbb9eae6d609019c1ac1a1950f63629e0d.tar.gz
doc: various "the the" and other typos
R=golang-dev, adg CC=golang-dev https://golang.org/cl/6355076
Diffstat (limited to 'doc')
-rw-r--r--doc/articles/json_and_go.html4
-rw-r--r--doc/go_spec.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/articles/json_and_go.html b/doc/articles/json_and_go.html
index af7776c0a4..067e23ce97 100644
--- a/doc/articles/json_and_go.html
+++ b/doc/articles/json_and_go.html
@@ -82,8 +82,8 @@ is <code>nil</code>).
<p>
The json package only accesses the exported fields of struct types (those that
-begin with an uppercase letter). Therefore only the the exported fields of a
-struct will be present in the JSON output.
+begin with an uppercase letter). Therefore only the exported fields of a struct
+will be present in the JSON output.
</p>
<p>
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 57f2db7402..0f5e803da2 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -2206,7 +2206,7 @@ Within a composite literal of array, slice, or map type <code>T</code>,
elements that are themselves composite literals may elide the respective
literal type if it is identical to the element type of <code>T</code>.
Similarly, elements that are addresses of composite literals may elide
-the <code>&amp;T</code> when the the element type is <code>*T</code>.
+the <code>&amp;T</code> when the element type is <code>*T</code>.
</p>