mirror of
https://github.com/golang/go
synced 2024-11-21 15:54:43 -07:00
doc: fix typo.
Fixes #218 R=r CC=golang-dev https://golang.org/cl/155067
This commit is contained in:
parent
d3b1565716
commit
4085364a20
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user