mirror of
https://github.com/golang/go
synced 2024-11-21 14:34:41 -07:00
bytes: fix typo in AddByte comment
Fixes #1140. R=golang-dev CC=golang-dev https://golang.org/cl/2240043
This commit is contained in:
parent
e4245f2502
commit
b15b0a0cd9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user