]> Cypherpunks repositories - gostls13.git/commitdiff
expvar: fix typo in Publish documentation
authorRob Pike <r@golang.org>
Fri, 9 Dec 2011 22:24:51 +0000 (14:24 -0800)
committerRob Pike <r@golang.org>
Fri, 9 Dec 2011 22:24:51 +0000 (14:24 -0800)
Found and fixed by bketelsen@gmail.com.
Not worth making him a CONTRIBUTOR to delete one character.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5476054

src/pkg/expvar/expvar.go

index 40f5441ddcb4f0800c2fa09f6b87e7dbf01a6f1b..5ced285804c1c16496ff05f3d0fc495fd7c9eaff 100644 (file)
@@ -193,7 +193,7 @@ func (f Func) String() string {
 var vars map[string]Var = make(map[string]Var)
 var mutex sync.Mutex
 
-// Publish declares an named exported variable. This should be called from a
+// Publish declares a named exported variable. This should be called from a
 // package's init function when it creates its Vars. If the name is already
 // registered then this will log.Panic.
 func Publish(name string, v Var) {