From: Rob Pike Date: Fri, 9 Dec 2011 22:24:51 +0000 (-0800) Subject: expvar: fix typo in Publish documentation X-Git-Tag: weekly.2011-12-14~111 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0244bae672893adcd459b25cdd10ba65b37e894a;p=gostls13.git expvar: fix typo in Publish documentation 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 --- diff --git a/src/pkg/expvar/expvar.go b/src/pkg/expvar/expvar.go index 40f5441ddc..5ced285804 100644 --- a/src/pkg/expvar/expvar.go +++ b/src/pkg/expvar/expvar.go @@ -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) {