diff options
author | Adam Langley <agl@golang.org> | 2009-11-16 11:56:18 -0800 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-11-16 11:56:18 -0800 |
commit | 4085364a20bbfbc2237e0b8bac4770d4deae16de (patch) | |
tree | c012a358e62f597cb3e394cf5998af80c8be8090 | |
parent | d3b1565716ddbd7114d0dbb2b59fc6bd900ea85e (diff) | |
download | go-4085364a20bbfbc2237e0b8bac4770d4deae16de.tar.gz go-4085364a20bbfbc2237e0b8bac4770d4deae16de.zip |
doc: fix typo.
Fixes #218
R=r
CC=golang-dev
https://golang.org/cl/155067
-rw-r--r-- | doc/effective_go.html | 2 |
1 files changed, 1 insertions, 1 deletions
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. <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: |