mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue