mirror of
https://github.com/golang/go
synced 2024-11-12 07:10:22 -07:00
fmt: remove extra space in doc for compound objects
Fixes #15339 Change-Id: I0b006deefb58ccfc47beae4e1b8da3d77fafda6b Reviewed-on: https://go-review.googlesource.com/22148 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
a85a224e8e
commit
5c434e93a1
@ -62,7 +62,7 @@
|
|||||||
For compound objects, the elements are printed using these rules, recursively,
|
For compound objects, the elements are printed using these rules, recursively,
|
||||||
laid out like this:
|
laid out like this:
|
||||||
struct: {field0 field1 ...}
|
struct: {field0 field1 ...}
|
||||||
array, slice: [elem0 elem1 ...]
|
array, slice: [elem0 elem1 ...]
|
||||||
maps: map[key1:value1 key2:value2]
|
maps: map[key1:value1 key2:value2]
|
||||||
pointer to above: &{}, &[], &map[]
|
pointer to above: &{}, &[], &map[]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user