diff options
| author | Russ Cox <rsc@golang.org> | 2009-03-03 08:39:12 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-03-03 08:39:12 -0800 |
| commit | 150fc635c53ef552024088ac65f82522b3626808 (patch) | |
| tree | 028f4f1a5f6b78795c1a1ef840b49c7da342edd1 /doc/progs/helloworld3.go | |
| parent | 4041d184e8f1e2123b1d32d5f39190d34f50ea7e (diff) | |
| download | golang-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/helloworld3.go')
| -rw-r--r-- | doc/progs/helloworld3.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/progs/helloworld3.go b/doc/progs/helloworld3.go index 36624ab53..59aebc721 100644 --- a/doc/progs/helloworld3.go +++ b/doc/progs/helloworld3.go @@ -7,7 +7,7 @@ package main import fd "fd" func main() { - hello := []byte('h', 'e', 'l', 'l', 'o', ',', ' ', 'w', 'o', 'r', 'l', 'd', '\n'); + hello := []byte{'h', 'e', 'l', 'l', 'o', ',', ' ', 'w', 'o', 'r', 'l', 'd', '\n'}; fd.Stdout.Write(hello); file, err := fd.Open("/does/not/exist", 0, 0); if file == nil { |
