diff options
author | Lucio De Re <lucio.dere@gmail.com> | 2014-04-18 08:11:31 -0700 |
---|---|---|
committer | Lucio De Re <lucio.dere@gmail.com> | 2014-04-18 08:11:31 -0700 |
commit | 13b4827c414b210972aa94c52e298906819dfbed (patch) | |
tree | dabc84431bcbfb403afcc88bf49afa19bca61b19 /src/pkg/reflect | |
parent | d2cdc10ce43879b5338741b1d5a73562ba46f78d (diff) | |
download | go-13b4827c414b210972aa94c52e298906819dfbed.tar.gz |
pkg/reflect/value.go: Correction in comment, the argument is "typ", not "t".
LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://codereview.appspot.com/89270043
Committer: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/pkg/reflect')
-rw-r--r-- | src/pkg/reflect/value.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/reflect/value.go b/src/pkg/reflect/value.go index 39cc91991..2cbda3983 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)") |