aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-01-13 12:06:33 +1100
committerRob Pike <r@golang.org>2010-01-13 12:06:33 +1100
commit632a98592df4eae2f48db74cc7bc23581ba73344 (patch)
treea98555a456de1baff12eba44fdbd5203597bcd9b
parentabda9e6f893d4ad7aa5dc79a4eadc7e235133ca9 (diff)
downloadgo-632a98592df4eae2f48db74cc7bc23581ba73344.tar.gz
go-632a98592df4eae2f48db74cc7bc23581ba73344.zip
fix typo found by kevin ballard
R=gri CC=golang-dev https://golang.org/cl/186113
-rw-r--r--doc/go_spec.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index b5096322a5..f4f2f56a0d 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -2458,7 +2458,7 @@ More precisely, if <code>T</code> is not an interface type, <code>x.(T)</code> a
that the dynamic type of <code>x</code> is identical to the type <code>T</code>
(§<a href="#Type_identity_and_compatibility">Type identity and compatibility</a>).
If <code>T</code> is an interface type, <code>x.(T)</code> asserts that the dynamic type
-of <code>T</code> implements the interface <code>T</code> (§<a href="#Interface_types">Interface types</a>).
+of <code>x</code> implements the interface <code>T</code> (§<a href="#Interface_types">Interface types</a>).
</p>
<p>
If the type assertion holds, the value of the expression is the value