diff options
author | Tim Cooper <tim.cooper@layeh.com> | 2020-01-05 20:16:26 -0600 |
---|---|---|
committer | Daniel Martí <mvdan@mvdan.cc> | 2020-01-06 02:46:02 +0000 |
commit | c6e84263865fa418b4d4a60f077d02c10a0fff23 (patch) | |
tree | 4efb2f2837744f51d802025001117d4e83147b35 /src/unicode | |
parent | 8adc1e00aa1a92a85b9d6f3526419d49dd7859dd (diff) | |
download | go-c6e84263865fa418b4d4a60f077d02c10a0fff23.tar.gz go-c6e84263865fa418b4d4a60f077d02c10a0fff23.zip |
all: fix typo in RuneSelf, runeSelf comments
Fixes #36396
Change-Id: I52190f450fa9ac52fbf4ecdc814e954dc29029cd
Reviewed-on: https://go-review.googlesource.com/c/go/+/213377
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/unicode')
-rw-r--r-- | src/unicode/utf8/utf8.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unicode/utf8/utf8.go b/src/unicode/utf8/utf8.go index b722a03923..b8368fce41 100644 --- a/src/unicode/utf8/utf8.go +++ b/src/unicode/utf8/utf8.go @@ -14,7 +14,7 @@ package utf8 // Numbers fundamental to the encoding. const ( RuneError = '\uFFFD' // the "error" Rune or "Unicode replacement character" - RuneSelf = 0x80 // characters below Runeself are represented as themselves in a single byte. + RuneSelf = 0x80 // characters below RuneSelf are represented as themselves in a single byte. MaxRune = '\U0010FFFF' // Maximum valid Unicode code point. UTFMax = 4 // maximum number of bytes of a UTF-8 encoded Unicode character. ) |