1
0
mirror of https://github.com/golang/go synced 2024-11-12 05:50:21 -07:00

doc: fix typo.

Fixes #218

R=r
CC=golang-dev
https://golang.org/cl/155067
This commit is contained in:
Adam Langley 2009-11-16 11:56:18 -08:00 committed by Rob Pike
parent d3b1565716
commit 4085364a20

View File

@ -639,7 +639,7 @@ have the corresponding type in each clause.
<pre>
switch t := interfaceValue.(type) {
default:
fmt.Printf("unexpected type %T", type); // %T prints type
fmt.Printf("unexpected type %T", t); // %T prints type
case bool:
fmt.Printf("boolean %t\n", t);
case int: