diff options
| author | kjgorman <kieran.j.gorman@gmail.com> | 2021-10-10 14:30:26 +0100 |
|---|---|---|
| committer | Alexander Rakoczy <alex@golang.org> | 2021-10-13 16:39:23 +0000 |
| commit | 3986e5c8e7df958cc1412ad06afc011022da76e1 (patch) | |
| tree | 8a3d810f17b3dc2dd1449ef6b2185d9161268ae5 /src/syscall/exec_linux.go | |
| parent | 69041c79dc2767c220519cbcb9538c39fadec59c (diff) | |
| download | go-3986e5c8e7df958cc1412ad06afc011022da76e1.tar.xz | |
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>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions
