]> Cypherpunks repositories - gostls13.git/commit
fmt: clarify reflect.Value printing
authorNodir Turakulov <nodir@google.com>
Fri, 16 Oct 2015 08:33:28 +0000 (01:33 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 19 Oct 2015 18:29:36 +0000 (18:29 +0000)
commit1da6b2ea197c9fcaa50e9465f3bf40c78b14703c
tree0ef414965531b8adcbe8c245dcb306f21902df4c
parent17a256bf22352c2beb9fc25ff76462fb16f3e6b2
fmt: clarify reflect.Value printing

fmt docs say:

  If the operand is a reflect.Value, the concrete value it
  holds is printed as if it was the operand.

It implies recursive application of this rule, which is not the case.
Clarify the docs.

Change-Id: I019277c7c6439095bab83e5536aa06403638aa51
Reviewed-on: https://go-review.googlesource.com/15952
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/fmt/doc.go