mirror of
https://github.com/golang/go
synced 2024-11-22 00:34:40 -07:00
mime: delete unnecessary constant conversions.
R=rsc CC=golang-dev https://golang.org/cl/1984043
This commit is contained in:
parent
4abfc4fff0
commit
9d3eb29a29
@ -29,7 +29,7 @@ func IsQText(rune int) bool {
|
||||
// "\" & CR, and including
|
||||
// linear-white-space>
|
||||
switch rune {
|
||||
case int('"'), int('\\'), int('\r'):
|
||||
case '"', '\\', '\r':
|
||||
return false
|
||||
}
|
||||
return rune < 0x80
|
||||
|
Loading…
Reference in New Issue
Block a user