]> Cypherpunks repositories - gostls13.git/commit
bytes: explicitly state if a function expects UTF-8-encoded data
authorTim Cooper <tim.cooper@layeh.com>
Thu, 28 Sep 2017 00:44:38 +0000 (21:44 -0300)
committerRob Pike <r@golang.org>
Mon, 2 Oct 2017 00:31:47 +0000 (00:31 +0000)
commitf2af0c178099c0d785efe3b6f5f2282277f9ee9c
treee6d93a41d2cf349c505d9a055ab50ff48eaca626
parented815d0038d42d2c7359cc319babd6b289cedbef
bytes: explicitly state if a function expects UTF-8-encoded data

Fixes #21950

Change-Id: I6fa392abd2c3bf6a4f80f14c6b1419470e9a944d
Reviewed-on: https://go-review.googlesource.com/66750
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/bytes/bytes.go
src/bytes/bytes_amd64.go
src/bytes/bytes_generic.go
src/bytes/bytes_s390x.go