]> Cypherpunks repositories - gostls13.git/commit
strings, bytes: avoid unnecessary function literals
authorJohan Brandhorst <johan.brandhorst@gmail.com>
Sat, 4 Aug 2018 08:45:36 +0000 (09:45 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 22 Aug 2018 16:09:06 +0000 (16:09 +0000)
commit841a9136b3d737d1252f7c5c371f109f23d76b2d
treef1239a11b4bf400df7385ed78220830844eca419
parent39eda0dac12a53f7f0c3189e5929d171e8e0b844
strings, bytes: avoid unnecessary function literals

A number of explicit function literals found through the
unlambda linter are removed.

Fixes #26802

Change-Id: I0b122bdd95e9cb804c77efe20483fdf681c8154e
Reviewed-on: https://go-review.googlesource.com/127756
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
src/bytes/bytes.go
src/strings/strings.go