mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
24fc323442
commit
022548cfe8
12 changed files with 15 additions and 15 deletions
|
|
@ -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'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue