mirror of
https://github.com/golang/go
synced 2024-11-17 19:44:43 -07:00
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>
This commit is contained in:
parent
8adc1e00aa
commit
c6e8426386
@ -7,7 +7,7 @@ package runtime
|
||||
// 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.
|
||||
)
|
||||
|
||||
|
@ -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.
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user