]> Cypherpunks repositories - gostls13.git/commitdiff
expvar: fix name of Var interface
authorWarren Fernandes <warren.f.fernandes@gmail.com>
Thu, 6 Sep 2018 04:35:01 +0000 (22:35 -0600)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 6 Sep 2018 05:43:52 +0000 (05:43 +0000)
Change-Id: Ibc40237981fdd20316f73f7f6f3dfa918dd0af5d
Reviewed-on: https://go-review.googlesource.com/133658
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/expvar/expvar.go

index 174873a7d47c472769de7e49c282ebc8dbe52ad7..b7928aab1727e0d8c07a22b69e0b39c52aa02d79 100644 (file)
@@ -221,7 +221,7 @@ func (v *String) Value() string {
        return p
 }
 
-// String implements the Val interface. To get the unquoted string
+// String implements the Var interface. To get the unquoted string
 // use Value.
 func (v *String) String() string {
        s := v.Value()