commit | 980a57a84b932b43fc2d3ab699f7c235472009ab | [log] [tgz] |
---|---|---|
author | Josh Bleecher Snyder <josharian@gmail.com> | Mon Apr 22 17:04:59 2019 -0700 |
committer | Josh Bleecher Snyder <josharian@gmail.com> | Tue Apr 23 02:14:40 2019 +0000 |
tree | 3e6847096b412a8e0a35d3c2ac6ba77ff7f359d5 | |
parent | f0e97546962736fe4aa73b7c7ed590f0134515e1 [diff] |
cmd/compile: clean up string/bytes/runes conversion code Combine the OBYTES2STR and ORUNES2STR cases, as they are identical. Clean up the construction, commenting, and spacing of the other cases, and make them all match. Passes toolstash-check. Change-Id: I1be8a528927caeb15e49cb12ca0f11c0827dadd9 Reviewed-on: https://go-review.googlesource.com/c/go/+/173322 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.