go/src/bytes
kjgorman 3986e5c8e7 bytes: fix Cut godoc typo
If sep does not appear in s, we return nil here
rather than the empty string. Presumably the docs
were copied from the  strings package implementation
and brought that along.

Change-Id: I3706c94fe04abd9e2a2c8840f7cc6116386965c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/354969
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
2021-10-13 16:39:23 +00:00
..
boundary_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
buffer.go bytes: correct tense in comment 2021-03-15 17:37:09 +00:00
buffer_test.go bufio, bytes, strings: handle negative runes in WriteRune 2021-02-24 04:01:25 +00:00
bytes.go bytes: fix Cut godoc typo 2021-10-13 16:39:23 +00:00
bytes_test.go bytes, strings: add Cut 2021-10-06 15:53:00 +00:00
compare_test.go bytes: add endian base compare test 2019-10-07 14:49:57 +00:00
example_test.go bytes, strings: add Cut 2021-10-06 15:53:00 +00:00
export_test.go bytes, internal/bytealg: simplify Equal 2019-04-24 00:56:36 +00:00
reader.go bytes, strings: fix Reader.UnreadRune returning without error on a zero Reader 2018-10-29 20:07:25 +00:00
reader_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00