mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
csv, gob, json, mail, mime, xml: use rune
Nothing terribly interesting here. R=golang-dev, r, borman CC=golang-dev https://golang.org/cl/5315043
This commit is contained in:
parent
9f6d036f33
commit
b50a847c3c
15 changed files with 123 additions and 122 deletions
|
|
@ -243,7 +243,7 @@ func TestHTMLEscape(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func noSpace(c int) int {
|
||||
func noSpace(c rune) rune {
|
||||
if isSpace(c) {
|
||||
return -1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue