]> Cypherpunks repositories - gostls13.git/commitdiff
comment nit
authorRuss Cox <rsc@golang.org>
Tue, 17 Feb 2009 04:44:29 +0000 (20:44 -0800)
committerRuss Cox <rsc@golang.org>
Tue, 17 Feb 2009 04:44:29 +0000 (20:44 -0800)
R=r
DELTA=2  (0 added, 2 deleted, 0 changed)
OCL=25081
CL=25084

src/lib/io/io.go

index c4464f505638e5c07a225aaaa93fa493c24db3c4..c34ddcd4f61da6d3bef8782736440c91dbe38ab2 100644 (file)
@@ -45,8 +45,6 @@ type ReadWriteClose interface {
 }
 
 // Convert a string to an array of bytes for easy marshaling.
-// Could fill with syscall.StringToBytes but it adds an unnecessary \000
-// so the length would be wrong.
 func StringBytes(s string) []byte {
        b := make([]byte, len(s));
        for i := 0; i < len(s); i++ {