summaryrefslogtreecommitdiff
path: root/src/pkg/mime/grammar.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/mime/grammar.go')
-rw-r--r--src/pkg/mime/grammar.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/pkg/mime/grammar.go b/src/pkg/mime/grammar.go
index 09e941e3e..2347324aa 100644
--- a/src/pkg/mime/grammar.go
+++ b/src/pkg/mime/grammar.go
@@ -30,16 +30,3 @@ func isToken(s string) bool {
}
return strings.IndexFunc(s, isNotTokenChar) < 0
}
-
-// isQText returns true if rune is in 'qtext' as defined by RFC 822.
-func isQText(r int) bool {
- // CHAR = <any ASCII character> ; ( 0-177, 0.-127.)
- // qtext = <any CHAR excepting <">, ; => may be folded
- // "\" & CR, and including
- // linear-white-space>
- switch r {
- case '"', '\\', '\r':
- return false
- }
- return r < 0x80
-}