Commit b15b0a0c authored by Andrew Gerrand's avatar Andrew Gerrand

bytes: fix typo in AddByte comment

Fixes #1140.

R=golang-dev
CC=golang-dev
https://golang.org/cl/2240043
parent e4245f25
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment