From: Adam Langley Date: Mon, 16 Nov 2009 19:56:18 +0000 (-0800) Subject: doc: fix typo. X-Git-Tag: weekly.2009-11-17~39 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4085364a20bbfbc2237e0b8bac4770d4deae16de;p=gostls13.git doc: fix typo. Fixes #218 R=r CC=golang-dev https://golang.org/cl/155067 --- diff --git a/doc/effective_go.html b/doc/effective_go.html index cd6ac53602..694f05d101 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -639,7 +639,7 @@ have the corresponding type in each clause.
 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: