1
0
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:
Rob Pike 2010-08-20 07:42:02 +10:00
parent 4abfc4fff0
commit 9d3eb29a29

View File

@ -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