summaryrefslogtreecommitdiff
path: root/src/lib/net/parse.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-02-13 14:48:32 -0800
committerRuss Cox <rsc@golang.org>2009-02-13 14:48:32 -0800
commit526837026995aa88a05eb73f83f8573d5c024882 (patch)
treea3b6c6ab9f68981976738f0efc7988353d5a0d82 /src/lib/net/parse.go
parentc2feca8a8dd68958c476a71b1e07b5cf43421a98 (diff)
downloadgolang-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 'src/lib/net/parse.go')
-rw-r--r--src/lib/net/parse.go2
1 files changed, 1 insertions, 1 deletions
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 {