]> Cypherpunks repositories - gostls13.git/commitdiff
netchan: fix comment typo.
authorNigel Tao <nigeltao@golang.org>
Thu, 23 Sep 2010 01:32:11 +0000 (11:32 +1000)
committerNigel Tao <nigeltao@golang.org>
Thu, 23 Sep 2010 01:32:11 +0000 (11:32 +1000)
R=adg
CC=golang-dev
https://golang.org/cl/2204047

src/pkg/netchan/import.go

index bb19dd4702f129b32a9147bdbd4e8b73c2ff4e5f..48fdb7bad9c320d48772e96ea11719c9842ba518 100644 (file)
@@ -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 {