From 526837026995aa88a05eb73f83f8573d5c024882 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 13 Feb 2009 14:48:32 -0800 Subject: convert composite literals from { } to ( ). only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024 --- src/lib/net/parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/net/parse.go') diff --git a/src/lib/net/parse.go b/src/lib/net/parse.go index 0477b349f..a1cf10c4a 100644 --- a/src/lib/net/parse.go +++ b/src/lib/net/parse.go @@ -60,7 +60,7 @@ func _Open(name string) *_File { if err != nil { return nil } - return &_File{fd, make([]byte, 1024)[0:0]}; + return &_File(fd, make([]byte, 1024)[0:0]); } func _ByteIndex(s string, c byte) int { -- cgit v1.2.3