Skip to content

Commit b18c107

Browse files
rscgopherbot
authored andcommitted
internal/export/unicode: change C comment to mention unassigned code points
As of CL 641395, C includes unassigned code points. (It always has in the Unicode definition.) Document that. Change-Id: Icab0ef37e6efeebb1e2882f7743e29acc7ab77d8 Reviewed-on: https://go-review.googlesource.com/c/text/+/653615 Auto-Submit: Sean Liao <[email protected]> Reviewed-by: Sean Liao <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 835f8ac commit b18c107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: internal/export/unicode/gen.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ func printCategories() {
281281
varDecl := ""
282282
switch name {
283283
case "C":
284-
varDecl = "\tOther = _C; // Other/C is the set of Unicode control and special characters, category C.\n"
284+
varDecl = "\tOther = _C; // Other/C is the set of Unicode control, special, and unassigned code points, category C.\n"
285285
varDecl += "\tC = _C\n"
286286
case "L":
287287
varDecl = "\tLetter = _L; // Letter/L is the set of Unicode letters, category L.\n"

0 commit comments

Comments
 (0)