]> Cypherpunks repositories - gostls13.git/commit
fmt: make %v doc for compound objects consistent
authorAshish Gandhi <ag@ashishgandhi.org>
Tue, 17 Apr 2018 23:13:04 +0000 (16:13 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 17 Apr 2018 23:47:44 +0000 (23:47 +0000)
commit86827fd7a16aa4c972d886921c0e63d825ce876d
tree523f69f55675736b43fb28dae413a5832ea172ee
parentbf101662642c2585afb957c418b33c0499cf87dd
fmt: make %v doc for compound objects consistent

The documentation for %v behavior for compound objects uses an ellipsis
to indicate indefinite lenght of elements. This is done for struct
fields as well as elements of arrays and slices. This adds the missing
ellipsis for maps.

Change-Id: Ia433387fe189d2daf5095df32085a541458f00a1
Reviewed-on: https://go-review.googlesource.com/107623
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/fmt/doc.go