diff --git a/doc/go1.13.html b/doc/go1.13.html index 5723fee1b3..1f83c0d9a0 100644 --- a/doc/go1.13.html +++ b/doc/go1.13.html @@ -292,11 +292,11 @@ TODO
reflect

- The new Value.IsZero method reports whether a Value is a zero value for its type. + The new Value.IsZero method reports whether a Value is the zero value for its type.

- The MakeFunc function now allows assignment conversions on returned values, instead of requiring exact type match. This is particularly useful when the type being returned is an interface type, but the value actually returned is a concrete value implementing that type. + The MakeFunc function now allows assignment conversions on returned values, instead of requiring exact type match. This is particularly useful when the type being returned is an interface type, but the value actually returned is a concrete value implementing that type.

diff --git a/src/reflect/value.go b/src/reflect/value.go index c58b2d2567..218b4d25cc 100644 --- a/src/reflect/value.go +++ b/src/reflect/value.go @@ -1076,7 +1076,7 @@ func (v Value) IsValid() bool { return v.flag != 0 } -// IsZero reports whether v is a zero value for its type. +// IsZero reports whether v is the zero value for its type. // It panics if the argument is invalid. func (v Value) IsZero() bool { switch v.kind() {