From: Nigel Tao Date: Thu, 23 Sep 2010 01:32:11 +0000 (+1000) Subject: netchan: fix comment typo. X-Git-Tag: weekly.2010-09-22~1 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=43527e9dbb14e8a4f66690c918ec2933d8997a50;p=gostls13.git netchan: fix comment typo. R=adg CC=golang-dev https://golang.org/cl/2204047 --- diff --git a/src/pkg/netchan/import.go b/src/pkg/netchan/import.go index bb19dd4702..48fdb7bad9 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 {