diff options
| author | Russ Cox <rsc@golang.org> | 2009-02-13 14:48:32 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-02-13 14:48:32 -0800 |
| commit | 526837026995aa88a05eb73f83f8573d5c024882 (patch) | |
| tree | a3b6c6ab9f68981976738f0efc7988353d5a0d82 /doc/progs/helloworld3.go | |
| parent | c2feca8a8dd68958c476a71b1e07b5cf43421a98 (diff) | |
| download | golang-526837026995aa88a05eb73f83f8573d5c024882.tar.gz | |
convert composite literals from { } to ( ).
only non-trivial changes are in
convlit1.go
golden.out
R=gri
OCL=25019
CL=25024
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 59aebc721..36624ab53 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 { |
