From b15b0a0cd9e4e774e20ea1292c7076650aef0fb8 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Mon, 27 Sep 2010 11:41:43 +1000 Subject: [PATCH] bytes: fix typo in AddByte comment Fixes #1140. R=golang-dev CC=golang-dev https://golang.org/cl/2240043 --- src/pkg/bytes/bytes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/bytes/bytes.go b/src/pkg/bytes/bytes.go index b76dc3563e5..458f407771d 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 {