Commit 9d3eb29a authored by Rob Pike's avatar Rob Pike

mime: delete unnecessary constant conversions.

R=rsc
CC=golang-dev
https://golang.org/cl/1984043
parent 4abfc4ff
...@@ -29,7 +29,7 @@ func IsQText(rune int) bool { ...@@ -29,7 +29,7 @@ func IsQText(rune int) bool {
// "\" & CR, and including // "\" & CR, and including
// linear-white-space> // linear-white-space>
switch rune { switch rune {
case int('"'), int('\\'), int('\r'): case '"', '\\', '\r':
return false return false
} }
return rune < 0x80 return rune < 0x80
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment