From: Andrew Gerrand Date: Mon, 27 Sep 2010 01:41:43 +0000 (+1000) Subject: bytes: fix typo in AddByte comment X-Git-Tag: weekly.2010-09-29~44 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b15b0a0cd9e4e774e20ea1292c7076650aef0fb8;p=gostls13.git bytes: fix typo in AddByte comment Fixes #1140. R=golang-dev CC=golang-dev https://golang.org/cl/2240043 --- diff --git a/src/pkg/bytes/bytes.go b/src/pkg/bytes/bytes.go index b76dc3563e..458f407771 100644 --- a/src/pkg/bytes/bytes.go +++ b/src/pkg/bytes/bytes.go @@ -561,7 +561,7 @@ func Add(s, t []byte) []byte { return s } -// AddByte appends byte b to the end of s and returns the result. +// AddByte appends byte t to the end of s and returns the result. // If s has enough capacity, it is extended in place; otherwise a // new array is allocated and returned. func AddByte(s []byte, t byte) []byte {