Skip to content

Commit 06db477

Browse files
bitluxgopherbot
authored andcommitted
wiki: Prefer "white space" over "whitespace"
Both "whitespace" and "white space" are used in the codebase. There doesn't seem to be an external consensus as to which is better (see https://github.com/orgs/mdn/discussions/382 for a discussion). https://www.unicode.org/versions/Unicode16.0.0/UnicodeStandard-16.0.pdf (warning: 12 MB file) consistently uses "whitespace", but the character property is "White_Space". Regardless of which, if any, term is deemed to be preferred, I believe the Go codebase should at least be consistent. This change was prompted by browsing pkg.go.dev/strings and searching for "whitespace", which found only strings.FieldsSeq, not strings.Fields, which uses "white space". Change-Id: I0ad850831e4359a8c84afffa4ad86373e14133ca Reviewed-on: https://go-review.googlesource.com/c/wiki/+/656315 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Auto-Submit: Ian Lance Taylor <iant@golang.org>
1 parent c8feb7c commit 06db477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Spelling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ Policy:
1515
* use **canceled** (one ell), not cancelled.
1616
* use **canceling** (one ell), not cancelling.
1717
* use **marshaling**, **marshaled** etc (single ell). See https://go.dev/cl/33017
18-
18+
* use **white space**, not whitespace.

0 commit comments

Comments
 (0)