From 632a98592df4eae2f48db74cc7bc23581ba73344 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 13 Jan 2010 12:06:33 +1100 Subject: [PATCH] fix typo found by kevin ballard R=gri CC=golang-dev https://golang.org/cl/186113 --- doc/go_spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index b5096322a52..f4f2f56a0d3 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -2458,7 +2458,7 @@ More precisely, if T is not an interface type, x.(T) a that the dynamic type of x is identical to the type TType identity and compatibility). If T is an interface type, x.(T) asserts that the dynamic type -of T implements the interface TInterface types). +of x implements the interface TInterface types).

If the type assertion holds, the value of the expression is the value