summaryrefslogtreecommitdiff
path: root/doc/progs/print_string.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-03-03 08:39:12 -0800
committerRuss Cox <rsc@golang.org>2009-03-03 08:39:12 -0800
commit150fc635c53ef552024088ac65f82522b3626808 (patch)
tree028f4f1a5f6b78795c1a1ef840b49c7da342edd1 /doc/progs/print_string.go
parent4041d184e8f1e2123b1d32d5f39190d34f50ea7e (diff)
downloadgolang-150fc635c53ef552024088ac65f82522b3626808.tar.gz
Automated g4 rollback of changelist 25024,
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
Diffstat (limited to 'doc/progs/print_string.go')
-rw-r--r--doc/progs/print_string.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/progs/print_string.go b/doc/progs/print_string.go
index 8150be894..13a8d8241 100644
--- a/doc/progs/print_string.go
+++ b/doc/progs/print_string.go
@@ -13,6 +13,6 @@ func (t *testType) String() string {
}
func main() {
- t := &testType(77, "Sunset Strip");
+ t := &testType{77, "Sunset Strip"};
fmt.Println(t)
}