From: Russ Cox Date: Tue, 17 Feb 2009 04:44:29 +0000 (-0800) Subject: comment nit X-Git-Tag: weekly.2009-11-06~2161 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c19468d8df692625f09803a4336696c0a43b02ce;p=gostls13.git comment nit R=r DELTA=2 (0 added, 2 deleted, 0 changed) OCL=25081 CL=25084 --- diff --git a/src/lib/io/io.go b/src/lib/io/io.go index c4464f5056..c34ddcd4f6 100644 --- a/src/lib/io/io.go +++ b/src/lib/io/io.go @@ -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++ {