Commit 4085364a authored by Adam Langley's avatar Adam Langley Committed by Rob Pike

doc: fix typo.

Fixes #218

R=r
CC=golang-dev
https://golang.org/cl/155067
parent d3b15657
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment