mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
bytes: fix docs: s/array/slice/.
R=rsc, mdempsky, dave CC=golang-dev https://golang.org/cl/7028051
This commit is contained in:
parent
46811d27ce
commit
c753404886
3 changed files with 44 additions and 44 deletions
|
|
@ -260,7 +260,7 @@ func TestWriteTo(t *testing.T) {
|
|||
|
||||
func TestRuneIO(t *testing.T) {
|
||||
const NRune = 1000
|
||||
// Built a test array while we write the data
|
||||
// Built a test slice while we write the data
|
||||
b := make([]byte, utf8.UTFMax*NRune)
|
||||
var buf Buffer
|
||||
n := 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue