]> Cypherpunks repositories - gostls13.git/commit
unicode/utf8: remove dependence on unicode.
authorRob Pike <r@golang.org>
Tue, 6 Mar 2012 00:14:45 +0000 (11:14 +1100)
committerRob Pike <r@golang.org>
Tue, 6 Mar 2012 00:14:45 +0000 (11:14 +1100)
commitd9832987ba95f8feb016fc5d22d77793659b94ef
treef1c34b508ad79176cb83ef9ac146520360174f5c
parent46031400d0c0745ef8e764a4872f5aaaa143d199
unicode/utf8: remove dependence on unicode.
The dependency was there only to pull in two constants.
Now we define them locally and verify equality in the test.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5754046
src/pkg/unicode/utf8/utf8.go
src/pkg/unicode/utf8/utf8_test.go