summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Tao <nigeltao@golang.org>2010-09-23 11:32:11 +1000
committerNigel Tao <nigeltao@golang.org>2010-09-23 11:32:11 +1000
commit7a84dcc7c0177d475efa512d6030a1234a4f7ccc (patch)
tree3ceac9260fd9a411ab5cf7eba484c4bc61957161
parent076ef45aadc55a47da8f44e35cfa837011c5d36a (diff)
downloadgo-7a84dcc7c0177d475efa512d6030a1234a4f7ccc.tar.gz
netchan: fix comment typo.
R=adg CC=golang-dev http://codereview.appspot.com/2204047
-rw-r--r--src/pkg/netchan/import.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/netchan/import.go b/src/pkg/netchan/import.go
index bb19dd470..48fdb7bad 100644
--- a/src/pkg/netchan/import.go
+++ b/src/pkg/netchan/import.go
@@ -162,7 +162,7 @@ func (imp *Importer) Import(name string, chT interface{}, dir Dir) os.Error {
// imp, err := NewImporter("tcp", "netchanserver.mydomain.com:1234")
// if err != nil { log.Exit(err) }
// ch := make(chan myType)
-// err := imp.ImportNValues("name", ch, Recv, 1)
+// err = imp.ImportNValues("name", ch, Recv, 1)
// if err != nil { log.Exit(err) }
// fmt.Printf("%+v\n", <-ch)
func (imp *Importer) ImportNValues(name string, chT interface{}, dir Dir, n int) os.Error {