all: standardize RFC mention format

Standardize on space between "RFC" and number. Additionally change
the couple "a RFC" instances to "an RFC."

Fixes #15258

Change-Id: I2b17ecd06be07dfbb4207c690f52a59ea9b04808
Reviewed-on: https://go-review.googlesource.com/21902
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Dan Peterson 2016-04-12 16:58:56 -03:00 committed by Brad Fitzpatrick
parent 24fc323442
commit 022548cfe8
12 changed files with 15 additions and 15 deletions

View file

@ -570,7 +570,7 @@ func isQtext(c byte) bool {
return '!' <= c && c <= '~'
}
// quoteString renders a string as a RFC5322 quoted-string.
// quoteString renders a string as an RFC 5322 quoted-string.
func quoteString(s string) string {
var buf bytes.Buffer
buf.WriteByte('"')
@ -594,7 +594,7 @@ func isVchar(c byte) bool {
}
// isWSP reports whether c is a WSP (white space).
// WSP is a space or horizontal tab (RFC5234 Appendix B).
// WSP is a space or horizontal tab (RFC 5234 Appendix B).
func isWSP(c byte) bool {
return c == ' ' || c == '\t'
}