diff options
| author | Andrey Mirtchovski <mirtchovski@gmail.com> | 2010-07-21 12:01:15 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2010-07-21 12:01:15 -0700 |
| commit | 8629e5a648327a2ec7461b438d9800059e52b1e9 (patch) | |
| tree | ebc967e626a16d3feb8df26e560f62f0be628707 /src/pkg/bytes/bytes.go | |
| parent | 9a2f0029bcd6b3ada2cc8dbc6b52b5500e064047 (diff) | |
| download | go-8629e5a648327a2ec7461b438d9800059e52b1e9.tar.xz | |
strings.Bytes: fix typo in comment
R=adg, rsc
CC=golang-dev
https://golang.org/cl/1886042
Diffstat (limited to 'src/pkg/bytes/bytes.go')
| -rw-r--r-- | src/pkg/bytes/bytes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/bytes/bytes.go b/src/pkg/bytes/bytes.go index 25a5738324..dc0a41553c 100644 --- a/src/pkg/bytes/bytes.go +++ b/src/pkg/bytes/bytes.go @@ -182,7 +182,7 @@ func genSplit(s, sep []byte, sepSave, n int) [][]byte { // Split splits the array s around each instance of sep, returning an array of subarrays of s. // If sep is empty, Split splits s after each UTF-8 sequence. // If n >= 0, Split splits s into at most n subarrays; the last subarray will contain an unsplit remainder. -// Thus if n == 0, the result will ne nil. +// Thus if n == 0, the result will be nil. func Split(s, sep []byte, n int) [][]byte { return genSplit(s, sep, 0, n) } // SplitAfter splits the array s after each instance of sep, returning an array of subarrays of s. |
