]> Cypherpunks repositories - gostls13.git/commit
unicode/utf8: use binary literals
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 24 Apr 2019 22:41:26 +0000 (15:41 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Wed, 24 Apr 2019 23:51:16 +0000 (23:51 +0000)
commit2be64d36456d6e2ad14476b6d09b9fc4e2ac591e
tree10dc11fcfa67d16bca4b23c87707ced2a3465f10
parent57076b8e6edb6ee19b86ab349b8f7a85819e0085
unicode/utf8: use binary literals

We were using hex literals and had the binary literal in a comment.
When I was working with this code, I always referred to the comment.
That's an indicator that we should just use the binary literal directly.

Updates #19308

Change-Id: I2279cb8efb4ae5f2e1558c15979058ab09eb4f6f
Reviewed-on: https://go-review.googlesource.com/c/go/+/173663
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/unicode/utf8/utf8.go