]> Cypherpunks repositories - gostls13.git/commitdiff
doc/articles/laws_of_reflection.html: fix name of variable
authorRob Pike <r@golang.org>
Tue, 6 Aug 2013 23:34:39 +0000 (09:34 +1000)
committerRob Pike <r@golang.org>
Tue, 6 Aug 2013 23:34:39 +0000 (09:34 +1000)
Thanks to c.emil.hessman@gmail.com for pointing out the error.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12572043

doc/articles/laws_of_reflection.html

index 81f6697ce5324ffa40adb0110a0fec2bdaa90f4d..57a769692aefe92c62a7f7becb3cb13a0535fa98 100644 (file)
@@ -148,7 +148,7 @@ Continuing, we can do this:
 {{code "/doc/progs/interface.go" `/var empty interface{}/` `/STOP/`}}
 
 <p>
-and our empty interface value <code>e</code> will again contain
+and our empty interface value, <code>empty</code>, will again contain
 that same pair, (<code>tty</code>, <code>*os.File</code>). That's
 handy: an empty interface can hold any value and contains all the
 information we could ever need about that value.