strconv: fix documentation for CanBackquote.

Space is not a control character.

Fixes #8571.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/137380043
This commit is contained in:
Rob Pike 2014-09-09 11:45:36 -07:00
parent 8ac35be145
commit b6571a0713
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ func AppendQuoteRuneToASCII(dst []byte, r rune) []byte {
// CanBackquote reports whether the string s can be represented
// unchanged as a single-line backquoted string without control
// characters other than space and tab.
// characters other than tab.
func CanBackquote(s string) bool {
for len(s) > 0 {
r, wid := utf8.DecodeRuneInString(s)