mirror of
https://github.com/golang/go
synced 2024-11-24 18:10:02 -07:00
encoding/hex: don't try to print DEL.
R=agl CC=golang-dev https://golang.org/cl/4551081
This commit is contained in:
parent
5ab096d030
commit
c72dbaf312
@ -128,7 +128,7 @@ type dumper struct {
|
||||
}
|
||||
|
||||
func toChar(b byte) byte {
|
||||
if b < 32 || b > 127 {
|
||||
if b < 32 || b > 126 {
|
||||
return '.'
|
||||
}
|
||||
return b
|
||||
|
Loading…
Reference in New Issue
Block a user