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: