From: Lucio De Re Date: Fri, 18 Apr 2014 15:11:31 +0000 (-0700) Subject: pkg/reflect/value.go: Correction in comment, the argument is "typ", not "t". X-Git-Tag: go1.3beta1~19 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cd4c1f18a195ac16e7dc9c4aa59a491adf469bab;p=gostls13.git pkg/reflect/value.go: Correction in comment, the argument is "typ", not "t". LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/89270043 --- diff --git a/src/pkg/reflect/value.go b/src/pkg/reflect/value.go index 39cc91991f..2cbda3983c 100644 --- a/src/pkg/reflect/value.go +++ b/src/pkg/reflect/value.go @@ -2297,7 +2297,7 @@ func Zero(typ Type) Value { } // New returns a Value representing a pointer to a new zero value -// for the specified type. That is, the returned Value's Type is PtrTo(t). +// for the specified type. That is, the returned Value's Type is PtrTo(typ). func New(typ Type) Value { if typ == nil { panic("reflect: New(nil)")