aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-11-09 17:09:33 -0800
committerRuss Cox <rsc@golang.org>2009-11-09 17:09:33 -0800
commit1a821b32da9f411945e71c20ed36a957d1dafa4b (patch)
tree18d9857ba76d98d957b6afc4378cdf9bfd7fd657
parent6c7f9f63409a754d217dfae02aee417234212cf3 (diff)
downloadgo-1a821b32da9f411945e71c20ed36a957d1dafa4b.tar.gz
go-1a821b32da9f411945e71c20ed36a957d1dafa4b.zip
noted by kaib: explicit assignment initialization
didn't match the composite literal initialization. R=r CC=kaib http://go/go-review/1024039
-rw-r--r--doc/effective_go.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html
index ac012397a6..3c4ccecca2 100644
--- a/doc/effective_go.html
+++ b/doc/effective_go.html
@@ -822,7 +822,6 @@ func NewFile(fd int, name string) *File {
f := new(File);
f.fd = fd;
f.name = name;
- f.error = nil;
f.dirinfo = nil;
f.nepipe = 0;
return f;