diff --git a/doc/go_spec.html b/doc/go_spec.html index 2b59db6fd1..c9e14a3fec 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -3400,12 +3400,7 @@ A type assertion used in an assignment or initializat v, ok = x.(T) v, ok := x.(T) var v, ok = x.(T) - -var v, ok interface{} = x.(T) - -type v T -type ok T1 -v, ok = x.(T) // type T1 is derived from interface{} or bool +var v, ok interface{} = x.(T) // dynamic types of v and ok are T and bool